Working with subroutines and functions
Author: Green Apple Computer Studio This article hits: 351
A quick question: why is there so little code in the ASP book that discusses using subroutines and functions?
While writing ASP code in one line is
Stored Procedure | Recordset This article first describes the stored procedures that return a recordset. Sometimes, you need a stored procedure to return multiple recordsets, how do you get them at the same time in the ASP? To illustrate this issue,
Cache
HTM Web pageor
ASP Web pageResponse.Expires =-1Response.ExpiresAbsolute = Now ()-1Response.CacheControl = "No-cache"PHP Web pageHeader ("Expires:mon, June June 1997 05:00:00 GMT");Header ("Cache-control:no-cache, must-revalidate");Header
xml| Print One, preface
ASP is widely used in e-commerce, and there are some problems in report processing. This article describes the use of ASP
I write the report Server page script interpreter to achieve the display of reports, printing.
Ii.
pagination | function | data | database
' Automatically output database column names, content, and paging common functions [very fine code]' You just need to change the database connection code to enter the full table content information and the
Overview
The Counter component creates a counters object that can create, store, grow, and retrieve any number of independent counters.
A counter is a persistent value that contains an integer. You can control counters by using the GET, Increment,
function | conversion function Urlconvert (str)
Convertstr=str
Urllocation=instr (convertstr, "http://")
if (urllocation=0) and (maillocation=0) then
Urlconvert=convertstr
Exit function
End If
If Urllocation<>0 Then
Rightstr=str
Do While Urllocation<
function | control | string
Studied for 2 hours how to control the output of the article title in English and Chinese, give everybody iron outThe function is below, and the method is:strvalue ("Please email notification if you do not fill out the
excel| Program | Print at present, b/S mode (browser/server mode) has become the preferred computing mode of the Enterprise network. Because of the particularity of B/S mode, the Excel report printing function which is relatively easy to realize
Scripting | Asynchronous tree structure is a common way to describe hierarchical data. The tree structure generation program introduced in this paper consists of one ASP page and two JavaScript functions. The tree
The form structure is asynchronous,
There are three DropDownList controls on the Asp.net| control aspx page.
DropDownList1 said the year, DropDownList2 said the month, DropDownList3 said days;
Note Set the AutoPostBack property of these three DropDownList controls to true.
Users can
Controls | charts | Explain the use of OWC (Office Web components) controls in ASP makes it easy to implement various chart functions, such as pie, clustered column, line, and so on.
In the following code I give a detailed list of pie, clustered
Custom functions used in processing file uploads and deletions in function ASP
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' All custom VBS functions
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
View | Statement If there are many records on the page, in many cases, it is more efficient to sort the information alphabetically in descending order than the traditional ascending sort display. With your familiar ORDER BY clause, you can easily
The error is first obtained by the set Objasperror=server.getlasterror and then by the owner of the ASPError object to obtain the relevant information:
objASPError.ASPCode: Returns the error code generated by IIS
Objasperror.number: Returns COM
Asp.net| control ASP. NET custom controls are a good model for building software in a Web page like a stack of wood, and you can
Use a large number of Third-party controls to accomplish features you are not good at. However, it is difficult to
Object| source code send mail (p_sendmail.asp)
'*************************************
' This file is used to send mail
' Author: Awayeah
' E-mail: awayeah@163.net
'*************************************
If session ("straccount") = "" or Session ("
Web webfields a custom field component for the ASP development environment, where you can download components to the site http://www.haitiansoft.com and have detailed instructions for using the components.
Webfields custom field component
Asp.net| Security | program | Control as a Web server is to provide feedback to the viewer in a friendly way. If a visitor submits a data access request in a reasonable and reasonable capacity according to the rules of the Network service, then the
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.