Recently, I am working on a company website. In order to make it easier for customers to find the company's products, news, and other information, we need to implement simple intra-site searches. if you simply use the SQL like '% keyword %' method,
Control status-to make the control work normally, you sometimes need to store control status data. For example, if you write a custom control with different tabs that display different information, to make the control work as expected, the control
The server object function in ASP is implemented by the httpserverutility class in ASP. NET. This type of instance is created when as. Net starts processing the request and then stored in the request context. Httpserverutility has a large number of
Out-of-band call Model
The key factor that AJAX can play a role in Web pages is sending out-of-band HTTP requests. Out-of-band is an HTTP request sent by a browser-independent component. The out-of-band call is triggered by an HTML page event by a
1 full page Cache
Applicability
1. pages that do not require frequent data updates
2. Takes a lot of time and resources to compile and generate pages.
Duration must be a property. The cache time of the page, in seconds.
Varybyparam: This
When scriptmange is used, the "Microsoft JScript runtime error: 'sys 'is undefined" error occurs. When debugging, the system reports that debugging data cannot be debugged. the following error occurs:
Reference solution
If ASP. NET cannot run on IIS, try the following two methods:1.. Net Plugin-I to reinstall IIS mapping (mainly used for matching the extention of files such as aspx and asmx ). Run the following command in the c: \ windows \ Microsoft. NET \
Private function bytes2bstr (VIN) 'string Function
Dim I, thischrcode, nextchrcode
Strreturn = ""
For I = 1 to lenb (VIN)
Thischrcode = ASCB (midb (Vin, I, 1 ))
If thischrcode Strreturn = strreturn & CHR (thischrcode)
Else
Nextchrcode = ASCB (midb
1.1 Use see Microsoft official: http://www.microsoft.com/china/msdn/library/webservices/asp.net/URLRewriting.mspx? MFR = true
Urlrewritingnet. urlrewriter. dllCopy the DLL to the bin folder and configure web. config. This is not the same as that
Every developer who has performed large-scale ASP-web application design has the following experiences: It is difficult to confuse ASP code with HTML, and the business logic and display method are twisted, this makes the code hard to understand and
Document directory
Features
Attribute
Object
Method
Internal Variable
Code
Instance
Suitable for templates with few loops.
If internal loops are not implemented, regular expressions are required, which is a waste of resources and time. For
I made an ASP practical class library a few days ago.-- Put asplib in the root directory| -- System| -- Adovbs. inc| -- Util| -- Configuration. asp| -- Dataaccess. asp| -- Validator. asp| --......| -- Control| -- Dropdownlist. asp| -- Datalist. asp|
Note: You can randomly generate a password and then email it to the registered user. You can confirm that the user's email is correct. Automatically Generated passwords are often more secure. At the same time, you can filter invalid users.
Save the
Save it as sitemap. asp and put it under the root directory of the website. Set the name of the folder to be generated and run the command.
'Sitemap. aspSession ("count") = 0'Your Domain NameSession ("server") = "http: // your website
12. horizontal panel scrolling and vertical auto Scaling
13. Press enter to convert to Tab
onkeydown="if(event.keyCode==13) event.keyCode=9" 14. DataGrid super join ColumnDatanavigateurlfield = "field name" datanavigateurlformatstring =
18. Date formatting
[ASPX page:
Shown as: 19:44:28
I only want]
How should I change it?
[Format date]
It is usually the object (datetime) objectfromdb). tostring ("yyyy-mm-dd ");
[Date verification expression]
A. The correct input format is as
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