Ben
ProgramDeveloped by Feifei ASP Park ffasp.com
This program official download website http://www.ffasp.com/content.asp? Newsid = 945 flying! P Technology Park
* ** Note:
Ajax-based tree directory display
Supports flexible directory addition,
Searched online
Code The same is true.
Function sort (ary)Dim keepchecking, I, firstvalue, secondvalueKeepchecking = trueDo until keepchecking = falseKeepchecking = falseFor I = 0 to ubound (ary)If I = ubound (ary) Then exitIf ary (I)> ary (I +
Replacing the template tag when FsO generates a static html file has always been a very troublesome problem. At least I think so. Do not create another template. This is troublesome !, I saw a way to solve this problem today.
Such as a normal
This method is used because of some interfaces of mobile dream WAP. The Asp.net version is available next. This is an ASP version, and msxml2.xmlhttp is used.
Request. asp
CopyCode The Code is as follows: dim https
Set HTTPS = server.
Detailed description of ASP built-in object objectcontext
You can use the objectcontext object to submit or discard a transaction managed by Microsoft Transaction Server (MTS), which is initialized by the script contained on the ASP page.
When
ASP simple multi-query Solution
CopyCode The Code is as follows: 'subject information title
Name of the company whose company information is published
'Content content
'Address company address
'Infomation Company Profile
'Note
The preceding values
CopyCodeThe Code is as follows: '*************************************** ***********
'Function ID: 0016 [obtain execution
ProgramName]
'Function name: gt_the_proname
'Usage: get the name of the execution Program
'Parameter:
'Return value:
Some ASP skills and practical solutions
Random Number:
The record keywords obtained when querying data are displayed in Red:
" & searchname & "") %>
Use ASP to check whether proxy is used by visitors
"thenResponse. Write " you have
One page
Code Example
Program File Name: pages. asp %>
Set conn = server. Createobject ("ADODB. Connection ")
Conn. Open "provider = msdaora.1; Data Source = yoursrcname; user id = youruserid; Password = yourpassword ;"
Set rs = server.
Asp xmlhttp component packet sendingWrite a thief function, pay attention to the red Code Part. Add others by yourself!Function posthttppagefrom (httpurl, stra, fromurl)Dim HTTPSet HTTP = server. Createobject ("msxml2.xmlhttp ")HTTP. Open "Post",
'Name: ASP universal collection function redundancy edition, which must be edited by the product Edition
'Author: Liu yongfa
'Date: 2007-6-23
Function gethttppage (PATH)
T = getbody (PATH)
Gethttppage = bytestobstr (T, "gb2312 ")
End Function
'Create connection/recordset
'Populate data into recordset object
%>
.
Loop %>
If there are many query results, the server will spend a lot of time explaining your asp script, because there are many response. write statement to process.
///
/// Quickly verify whether a string matches the specified regular expression.
///
/// content of the regular expression.
/// string to be verified.
/// whether the bool value is valid.
Public static bool quickvalidate (string _
Copy codeThe Code is as follows: '*************************************** *****
'The following are database-related functions
'*************************************** *****
'================================================ =====
'Initialize the
ASP generates column bodies, line charts, and pie chart source code
Function table2 (total, table_x, table_y, all_width, all_height, line_no)
'Parameter meaning (transmitted array, abscissa, ordinate, chart width, chart height, number of broken
Copy codeThe Code is as follows: 'Database fields are class attributes, and functions such as adding, deleting, modifying, and checking operations are class methods.
Class Cls_Leibie
Private nClassID, sClassName, nParentID, sParentPath, nDepth,
Purpose: Query keyword of an article in an article table
Query format: Baidu, google, Baidu, Baidu, or google, good Baidu and google (you can also query all the queries without entering any conditions)
Function SearshSQL (Tname, Lname, Str)
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