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 (
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
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
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
Pagination | Experience
Read this some of the posts, learned a lot of things, and now share with you
Flash is now just a display function, the process of seeing some other people's things, feel that pagination seems to have a very simple way of
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
Sort
One, show the record
Set Rs=server.createobject ("Adodb.recordset")Sql= "SELECT * from JFNEWSO where newsclass= ' theoretical dynamics ' and Classname= '" &session ("Fenlei") & "' ORDER by Displayorder des C,id DESC "Rs.Open sql,conn,1,1
window| Security | Hard drive C: Partition section:
C:\
Administrators All
Everyone without
System All
of course, this to the following directory is to be changed
C:\Windows
Administrators All
Creator owner
Not an inherited
. only
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
Programs | tutorials | Getting Started | data | Getting Started tutorial the "thief" here refers to the powerful functionality provided by the XMLHTTP component in XML in ASP, which crawls data (images, Web pages and other files) from remote Web
Asp.net| Program
As you all know, it's not easy to implement a 24*7-24x7 application. One of my projects had been stuck in a violent load for more than 20 hours after a heroic fall. Luckily, ASP. NET and IIS provide us with some simple facilities
Paging
Using ASP to do things already more, but has not paid attention to this thing, today spent a little time to write some, easy to use later.
Dim Rstotal,rspagesize,rspagecountIf not IsObject (objRS) Then Exit sub:end ifIf not IsNumeric
asp.net| Troubleshooting If IIS is later installed, it needs to be first. NET executes the aspnet_regiis-i in the command tool, installs the ASP. NETFramework
Then check the configuration below:
If IIS is not installed later, check the following
Asp.net|css
Look at the old cat's article, by making the page dynamically loaded with different CSS to achieve personalized interface (such as personalized blog interface) have the following several methods
Method One:
HtmlGenericControl defines
asp.net|css| optimization
ASP.net 2.0 has increased the support of the built in MasterPage, which is a great convenience for us. However, after a period of use, I found that MasterPage is not so perfect: nested MasterPage cannot support the
asp.net asp.net2.0 from our footsteps more and more near, I also rough look, here I put my feelings tell everyone, welcome to correct me!
First let's take a quick look at what new changes and improvements are made to 2.0 than previous versions.
1.
asp.net ASP. NET in the ViewState
ViewState is a mechanism for saving the state value of a Web control postback in asp.net. When the Web form is set to runat= "Server", the form is appended with a hidden property _viewstate. The state value of all
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