I started learning from. Net beta2 and officially used. net1.1 for development. That is to say ,. when net1.0 came out, the vast majority of people were in the learning stage. The reason is, of course, many people did not decide whether to study.
After searching for the tree for a long time on the Internet, I did not find the tree drop-down list, so I wrote one myself. (I am busy with work and have no time. It's easy to share this time, what are the shortcomings?ProgramMembers and comrades
Three methods to clear ASP Cache
1. Add the header to the ASP page
Response. Buffer = true
Response. expiresabsolute = now ()-1
Response. expires = 0
Response. cachecontrol = "no-Cache"
Response. addheader "Pragma", "No-Cache", or
CodeWrite a
1. create ableabledatatable dt = new datable (); // you can create a name for the table. tb2. Add a column name to the table: DT. columns. add ("ID", typeof (system. int32); // The type can be changed, such as system. int32, system. double .. DT.
ASP. NET status saving can be divided into client saving and server saving:
Using Client options to store page information without using server resources these options often have the lowest security but the fastest server performance, because the
Measure the test taker's knowledge about the background Web Server action flow when a user requests a. ASPX page. After learning about this process, we will understand the functions of httphandler and httpmodule.
First, let's take a look at the IIS
Now we will describe the final process. What happens when Asp.net obtains An ASPX system request in the ISAPI of IIS and obtains control.
If not, create one and transfer the control to the process (that is, the function pointer jump operation
You can use protected configurations to encrypt sensitive information (including user names and passwords, database connection strings, and encryption keys) in the Web application configuration file (such as the Web. config file ). After the
1. What are the differences between property and attribute in C #? What are their respective uses? What are the advantages of this mechanism?Both property and attribute are called attributes in Chinese. However, property refers to the data area
I wrote it myself, but now I need to back up and save it. there will be problems at that time.
Using system; using system. data; using system. configuration; using system. collections; using system. web; using system. web. security; using system.
Declare a class named aspcn
Class aspcn
Private aspcn
Initialization class
Private sub class_initialize
Aspcn = "aspcn is good! "
End sub
Define a function
Public Function doit ()
Doit = aspcn
End Function
Define a method
Public sub
Http://www.tqts.net/Article/wlbc/asp/200607/8963.html
Class myclass'// ---- Declare (Declaration is defined) the internal (Private [private]) variable of the myclass classPrivate strauthorPrivate strversionPrivate strexample
'// ---------------------
Chinese webmaster download site: cnzz.cn cnzz.com is my most frequent site. Basically, the code is more classic, and the download function is more enriched after the 2005 revision. You can directly download the "Chinese source code. rar" file. It is
Function isvalidqqnumber (qqstring)'Determine the QQ number formatIsvalidqqnumber = true
If Len (qqstring) 12 thenIsvalidqqnumber = falseElseFor I = 1 to Len (qqstring)Testchar = lcase (mid (qqstring, I, 1 ))If not isnumeric (testchar)
Select case request ("action ")'Put it in the library first, and then generate the page'Add start ---------------------------------------------------------------------------------Case "add"Title = request ("title ")Content = request ("content
The date problem occurs again when the date function is called today:
The form submission parameters are as follows:
"/>
The code for receiving parameters in ASP is as follows:
Searchordertime = trim (Request ("searchordertime "))
The correct query
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