Sqlultimate.asp--part C
BuildSQL
If request ("CreateTable") <> "Create Table" Then
Response.Write ("" & vbCrLf)
End If
If request ("createtable") = "Create Table" Then
Call CreateTable ()
ElseIf strserver = "" or Request ("showconnectdb") =
1, first clear which record to delete
The SQL statement, for example, corresponds to a specific ID.
id = request.form ("id")
sql = "SELECT * from Cnarticle where cn_id=" &id
Set rs = Server.CreateObject ("ADODB.") Recordset ")
Rs. Open sql,conn,2,3
2
ASP is Microsoft in the earlier launch of Dynamic Web programming technology, but its combination of ADO on the database convenient access, combining XML, Com/activex and other technologies to achieve the server multi-layer structure of the function
Recently in the news of the background management system, in the access data imported into the SQL SERVER2000, there are a lot of problems, is summarized as follows:
You can convert access data by using the Import feature of SQL Server, but be aware
Class Systeminfo_cls
Public Browser, version, Platform, Issearch, Alexatoolbar
Private Sub Class_Initialize ()
Dim Agent, Tmpstr
Issearch = False
If Not IsEmpty (session ("Systeminfo_cls")) Then
TMPSTR = Split (Session ("Systeminfo_cls"), "| |
Dim Url,strurl,strpath
Dim Strinceptfile
Strinceptfile = "SWF,FLA,JPG,JPEG,GIF,PNG,BMP,TIF,IFF,MP3,WMA,RM,WMV,MID,RMI,CDA,AVI,MPG,MPEG,RA,RAM,WOV,ASF"
url = replace (replace (Request ("url"), "'", ""), "%", "" "," "," "/"
If Len (URL) > 3 Then
If
ASP calls the size of the picture
function Resizeimage (imageid,limitwidth,limitheight){var image = new Image ();IMAGE.SRC = IMAGEID.SRC;if (image.width if (image.width/image.height >= limitwidth/limitheight){if (Image.width >
In fact, in asp.net programming, you don't have to call md5.asp to encrypt your data. Classes in dotnet: System.Web.Security.HashPasswordForStoringInConfigFile ()
public string MD5 (string Str,int code)
{
if (code==16)//16-bit MD5 encryption (32-bit
Since the advent of ASP (Active Server Pages), ASP technology has been popular with more and more network programmers as it can create robust, maintainable, platform-independent applications, and more people are using ASP for Web development. But
function Delectimagefile (newsid,i)
Set Delectfile=server. CreateObject ("Scripting.FileSystemObject")Currentpath=server. MapPath ("images/news/")Filename=currentpath & "& NewsID &"-"& I &". gif "
If Delectfile.fileexists (FileName)
In VB scripts, you don't have to define variables or define their types explicitly in other scripting languages. A variable exists the first time you use it. However, this feature makes your code widely available in typing. If you incorrectly define
But when you modify the database how to let application update, this article provides you with a reasonable solution,
If anyone has a better algorithm, please post a discussion, thank you
-->
Class wawa_app_getrows
Public Function wawa_get_list
What is the most effective way to reference a field value in a recordset?
So far, I have used names to refer to the values of the fields in the recordset. This can be a very inefficient approach because each call requires a lookup domain. To prove
This is based on the user's choice whether to allow the user name password to be saved in the cookie Oh, we pay special attention to the code blue codes Oh.
Set Rs=server.createobject ("Adodb.recordset")Exec= "SELECT * from Yrwl_tb_admin where yhm=
/**--------------------------------------------------------------------** Create a XMLHTTP instance*return object is successfully created to return a XMLHTTP instance, otherwise it returns false**------------------------------------------------------
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service