Solution | Problem 17, question: What is the difference between using the AddNew method of ADO in ASP and using the "Insert into ..." statement directly? Which Way is better?
A: The AddNew method of ADO only encapsulates "Insert into" statement, so
IP Address |vbscript| Program "
untitled document
Dim finishgetip,showip,allip
''////////////////////////////////////////////////////////////////////////////////////////
"The procedure is not very concise, and later modified
' The database used
Paging | data | Speed The purpose of this article is to achieve large data paging browsing and optimize the speed.
Build a Web application, paging browsing is essential; This issue has long been the most common problem, has been a better solution,
In the "Evaluation of IP address-> geographical transformation", the article mentions that using the IP2ADDR function to read IP database files directly is the most efficient, compared with the MySQL database storage of IP data, SQL query is the
asp.net| data
Binding with DataBinder.Eval does not necessarily concern the data source (Dataread or DataSet). You don't have to care about the type of data. Eval converts this data object to a string. A lot of work was done on the bottom bound,
Asp.net| Server | control
Introduction
It is often useful to display "Please wait" information in a Web application form submission, or an animated GIF picture, especially if the submission process is a long one. I recently developed a survey
asp.net|oracle| Tips
/*Get Oracle Service Name1. Querying the registry for Oracle installation root directorysuch as: Hkey_local_machine\software\oracle\oracle_home REG_SZ E:\ORACLE\ORA92Learned Oracle Service name file location: root directory
Browser
This article demonstrates how to construct a SQL gateway application with a Java Servlet, a JSP page, and a static Java class. With this application, you can execute SQL commands directly in the browser, and the browser will submit the SQL
js| Pagination | data | show | page
In a page, when there is a lot of data to retrieve, it is often necessary to display the data in pagination and to make the paging.
Here are some routines to illustrate the implementation of JSP page paging
Ubb| Object | regular
Last time, we talked about how to use the "regular expression" object to validate various data in ASP, the powerful function of regular expression object is described in this article, and then we look at the other features of
Dynamic | functions | Web page
1. Function Array ()
Function: Create an array variable
Format: Array (list)
Parameters: List of each numeric column in an array variable, separated by a comma
Example:
Result: I was given an array
2. Function CInt
Beginner | function | A function that encapsulates a feature block in the language to facilitate user invocation. For example, "Now" in VBScript is a function that shows the current date and time. As for the specific reason for the display, the
Function
Here is a function to remove the image address from the HTML:
The main principle is to use regular judgment properties. This will be very useful in the acquisition program.
The functions are as follows:
Function showpic (str)Set objregexp
In the previous article, the author gave you a detailed introduction of the two very useful ASP built-in object application and session of the use of the method. Since both the OnStart and the OnEnd event scripts must be declared in the Global.asa
Learning ASP, the most important thing is to master the ASP built-in six large objects. In fact, in the last lecture, we have already learned about the response object (yes?). There's no mistake! ), and the most commonly used write method, redirect
Source Code
Id=trim (Request.QueryString ("userid")) ' Gets the current user name, which is himself (equal to session ("UserID")
If Request.QueryString ("act") = "send" Then ' get current operation status
Who=trim (Request.Form ("who")) ' If the
Source Code
Users=split (Application ("Onlineuser"), ",",-1) ' Splits the list of current online users and saves them to an array
If Trim (Request ("act") = "Wantsend" then "determines the current operating state
Who=trim (Request.Form ("who")) '
Source Code
'*****************************
User=split (Application ("Onlineuser"), ",",-1) ' Get online user list
For i=0 to UBound (user) Gets a non-empty list of online users
If user (i) <> "" Then
Number of nowcount=nowcount+1 ' statistics
Using ASP to write network paging machine
You like surfing the Internet friends must have been to the virtual community NetEase, inside the pager function must be very popular. Through the pager, we can call anyone who is currently surfing in a
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