session| Statistics | online | Online number The most commonly used method is Golobal.asa combined session, but this method has two disadvantages:
1, each session to occupy 12k of server memory space, in order to the number of +1 will pay the
Error | resolution | upload | no components
Problem Description:ASP no component upload program cannot upload larger file "Request object error ' ASP 0104:80,004,005 '", (probably more than 100KB), but originally in the server can upload 5m or so
Program | dropdown | drop-down list has [group] and [user] Two data tables, requires that the data be read from both tables and displayed as a level two Drop-down table, and the options in the [user] list change accordingly when you select an option
functions | show | functions
' Function: Format the display time by the specified parameters.
' Numformat=1: Converts time to YYYY-MM-DD hh:nn format.
' numformat=2: Converts time to YYYY-MM-DD format.
' Numformat=3: Converts time to HH:NN format.
'
Executes the ping command in ASP and returns the result
In a Win2000 system, commands can be executed by the Exec method of the Wscript.Shell object,
The simple code is as follows:
url = "Www.topronet.com"
Set Objwshell = CreateObject
Asp.net|javascript| variable
Method 1:
Use a hidden control, give the value of the variable to the hidden control, and then use JavaScript to find the value of the hidden controlWindow.document.getElementById ("Hide the ID of the control").
Asp.net|asp.net one. Introduction to Code behind
Code behind is what is called coding separation, and since Microsoft launched ASP.net, code behind is a hot topic. In a generic asp.net file, the Code Behind mainly uses two files to create a asp.net
Asp.net|asp.net Global.asa must be placed in the root directory of the site
Global.asa
----------------------------------------------------------------------
-------------------------------------------------------------------------
Count_txt.asp
-
NOTE: Reprint please indicate the sourceOn Error Resume Next ' This line of code is placed in the first line of conn.asp.
' Prevent injectionDim qs,errc,iiiQs=request.servervariables ("Query_string")' Response.Write (QS)Dim destr (18)DESTR (0) =
Control | data | Show a lot of times, when we display the contents of a database, we use a few rows or columns to display the data, such as 10 pieces of data, to be displayed in 2 or 3 columns per row.
Here is a simple listing code that uses an
Transaction Processing | data | database
In the ASP's database object linked object, the properties are provided:
BeginTrans Transaction StartCommitTrans Transaction SubmissionRollbackTrans transaction RollbackOn Error Resume Next ' error occurs
Generate html| Generate HTML Function getpage (URL)
Dim retrieval
Set retrieval = CreateObject ("Microsoft.XMLHTTP")
With retrieval
. Open ' get ', url, False ', ' ', ' ', ' '
. Send
GetPage = Bytestobstr (. Responsebody)
End With
Set retrieval =
Using Java to write ASP components Source: http://www.edulife.com.cn/Infos/189912/30189912006858.html
ASP makes it infinitely extensible through an ActiveX server components (a component of ActiveX servers). In the development of ASP, avoid the
asp.net in developing a asp.net system, often need to customize their own browser menus, toolbars.
In a recent project, there is an opportunity to take charge of this part.
The menu is Aspnetmenu, it seems not very stable, and the page refresh is
excel| Export excel| Data
first, the use of OWC
What is OWC?
OWC is the abbreviation for Office Web compent, Microsoft's Office Web Component, which provides a flexible and basic mechanism for drawing graphics on the web. In an intranet
Think of yourself to learn ASP probably also have some time. Since the beginning of 2002, I've heard of this stuff (even good dishes), to start to contact her is already 2002 November (time passed really fast), from the difficult to step out of the
Chinese character | Pinyin many problems are caused by Chinese problems
If the filename is best not in Chinese
Now the solution is usually to generate an ID, the ID to do the file name
If the URL has Chinese characters on the page, it often goes
Program Landing Page Login.asp:
If request. Form.count>0 Then
Session ("username") =request ("username")
Application (Session ("username")) =session. SessionID
Response. Redirect ("index.asp")
End If
%>
Other pages that need to be
Access | page
When you design a Web page, you often experience certain pages with restricted access. For example, some products of a company are only allowed to be browsed by one or some suppliers or customers. So how do we achieve this? In this
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