The ASP determines whether is the number usually uses the IsNumeric () function, its function is to judge inside the parameter expression is not the numerical value, the usage: isnumeric (content), if "content" the result of the final operation is a
It is necessary to keep track of what causes the site to stop running, and here is how to implement it.
Copy Code code as follows:
protected void Application_End (object sender, EventArgs e)
{
Recordendreason ();
}
Recording why
One, asp.net Web application architecture Security Risks
1. Main threats to the assembly: unauthenticated access, reverse engineering, code injection, obtaining program information through exceptions, and not audited access.
2. Security risks
Some ASP code worth collecting some ASP code
1. oncontextmenu= "Window.event.returnvalue=false" will completely screen the right mouse button
no available for table
2. deselect, prevent copying
3. onpaste= "return false" is not allowed to paste
4.
Using ASP to do a site although a bit outdated, but there is a large market in China, because most domestic users use Windows Server server, in the Windows Server IIS environment, Asp+sqlserver performance is not inferior to php+mysql, Unfortunately,
I believe you usually have this experience: the page has a link to the server A Word file, when the client machine has installed Office, click on the link will call Word open browse; When the client machine does not have Office installed, clicking
Script | Write this little thing from the starting point, due to the frequent need for online use ASP script ADO to the Database execution table, modify the field
Every time you want to FTP modify the upgrade file to pass up or online modified to
Programming | Advanced 7.4.4 using IIS error pages
The content associated with the ASP error handling process is to provide a customizable error page for IIS. In fact, this feature is also available in IIS 4.0. But the new ASP built-in objects are
The Web site is ASP, the database is MSSQL2000, and is often injected with the following characters.
This phenomenon shows that the site's ASP program has injected loopholes, to solve the problem, must be saved to the database before the filter, as
asp.net|xml| Program | advertising
This article describes the use of XML in ASP.net, where flying knives I just show the use of XML in conjunction with a dataset. In fact, asp.net on the operation of XML and the object is a lot of, such as
Skills
Tip 3: Caching Data and HTML on a WEB server disk
Sometimes, too much data is not cached in memory. "Excess" is a qualitative judgment, depending on the amount of memory that is intended to be consumed, as well as the number of cached items
Skills | performance
Tip 1: Cache common data on the Web server side
Most ASP pages have to extract data from the background database and then display the data in HTML format.No matter how fast your database is, extracting data from memory is
Apply styles to HTML server controls
Web is a flexible user interface environment, different sites in the visual and sensory changes in the way. The extensive application of cascading style sheets (CSS) greatly enriches the design of the web. All
JavaScript, like index.asp?id=xxx&name=xxx.
How can I use JavaScript to get the value of ID's name?
Method One:
Method Two:
This is done in the Ewebeditor online editor for you to refer to:
var urlparams = new Array ();
var aparams =
Asp.net| Control
In web development often some code is repeated in many places, such as navigation bar, user login/registration and a number of fixed columns above the home page. These reusable code can be written as a common module for the need to
Asp.net|xml| News System
Here I use XML instead of data, write a news release system, I hope to be able to play a role, so that more people can understand these latest technologies. Here are a few of these files.
Contents.xml
Asp.net| Security
On the other hand, simply say the use of form forms authentication. Perhaps we think it is too simple for those in the inner master should be "water", "Little Kiss". Today we have to order the pattern: there are six doors, rejected
Asp.net|web
The Web controls makes it easy to create forms and HTML controls. For example, in the typical selection box/Select boxes in an ASP, you have to create a loop that allows the control system to load data. But in asp.net, you will have a
Tutorial
"Test Address": http://wap.blueidea.com/tutorial/wapguestbook/Admin Address: http://wap.blueidea.com/tutorial/wapguestbook/admin.aspPlease test when you do not enter the illegal and reactionary information, otherwise I will only delete the
First, asp.net + MVC
IIS and asp.net pipelines
MVC, MVP, and model2[on the previous article]
MVC, MVP, and model2[the next article]
How asp.net MVC works [1]: Web applications built on the "pseudo" MVC framework
asp.net how MVC is run [2]: URL
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