Data | Database paste a section of ASP and WML query database code, we refer to the reference, in fact, with ASP to write a Web page very similar.
Dim Conn, RS
Dim Strsql,strfirstname, strLastName
Set conn = Server.CreateObject (
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
fso| Skills
In this program is the mid function, the function is to return a string from the first few characters in the beginning. The format is: Mid (string,start,length)
Learned the FSO to extract the file value, but also learned to input the
fso| Skills
But imagine: if not "110", but "1100", that is not to extract 4 bits ... This shows that the procedure is not perfect.
So keep thinking: the extracted value is always after the letter "a", and the value is always between the letter "a"
fso| Skills
one, FSO. GetFile
Extracts files corresponding to the file object
1,getfile. Asp
set fso = CreateObject (" Scripting.FileSystemObject ") set f1 = fso. CreateTextFile (whichfile,true) f1. Write ("This is a test". My Name is
Skill 1. Now the date Time command is
The 2.ASP method for obtaining data entry in form (from) is to use one of the built-in objects (object)-requect,
it varies by get,post.
3. If you want to write yourself in VB or other languages,
Tips for the following example:
Fori=1 to Request.fron ("INPUT1"). Count
Response.Write Request. From ("Input1") (I) " Next
%>
if INPUT1 has two values, it shows
* If the index specified is not used to read which. Available
〈%
for
Filesystemobject| object now provides support for the ASP free space more and more, for the ASP enthusiasts is undoubtedly a good momentum, but many provide free ASP space sites are not on the FileSystemObject this to
as a result of any
Counter
Dim Fso,f,no,i ' Defining variables is definitely a good habit
Set fso = CreateObject ("Scripting.FileSystemObject") ' establishes an instance of an object
Set f = fso. OpenTextFile (Server.MapPath ("count.no"), 1, True) '
Program ' Writing log program
?' Username: User information (identifies the person who performed the operation)
' operate: action (to indicate what the user did)
' userip: User IP (the IP address of the computer that identifies the user used
asp.net| problems using Vs.net's friends can often encounter situations where you can't debug asp.net, and some friends give you some practical solutions. To sum up, the following aspects are generally included (Please note: Here is a discussion
asp.net ASP spent two years, three months ago began to transfer to ASP.net, and completed the first Job Employment Center website (HTTP://JOB.N
ju.edu.cn), from one language to another, the process is always difficult, so I want to put me in the
Asp.net| page Preface
today is my new job the next day, finally returned to CSDN, on their blog to write the first article.
do not remember how many blogs they have, today began to decide, in this record, I later days and life bar.
asp.net
Asp.net| Control
You know, under asp.net2.0, Microsoft has given a new control of the system, some of it useful, such as the Membership member management system, and the Step-by-Step wizard controls have saved us a lot of time, while others, such
asp.net
First, Introduction:
With themes we can easily change the style of controls and pages without having to modify our code and page files. Themes files are separately placed under 1 App_Themes folders and are completely separate from your
Asp.net| Printing | Crystal report in asp.net The Crystal Report does not provide the export and printing functionality of the report as it does in Windows Form, it requires us to add code to control, and here's a demo:
Export:
myreport
The Asp.net| creation action is a class of components that inherit from the Sys.action base class in ASP.net atlas to implement a class of event-handling capabilities that are raised by an event. The action is similar to the function of the event
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
Asp.net| Resolution | The page recently used the page navigation component SiteMapPath in the. net2.0, and thought of a simple and convenient mechanism to solve the problem of not synchronizing the page title.
The current problems:
First, 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.