Program | data | Database Frog Frog recommended: How to do an efficient ASP database operating procedures
In general, we do ASP database programs are ado+access, and are using some query string plus recordset to manipulate the database, up to only
Asp.net| Security | security | Virtual Host
Original by FANCYF (Fancyray) http://blog.csdn.net/fancyf/
After writing the security of the cookies generated by the ASP.net forms authentication, I felt that I could breathe a sigh of relief for the
javascript| Form Validation | Validation of dynamic forms is a common concern in developing Web applications. Sometimes we have to make sure that some items in the form must be filled in, must be numbers, must be a specified number of digits, and so
asp.net one, namespace
is only a symbol of the image, can be a rough expression of the type of case.
The following lists the most commonly used namespaces when creating Web programs using asp.net:
system.web; System.Web.Ui; System.IO;
asp.net| download did not straightened for a long time, there are many cases on the Internet are the same: IE supported files will be opened directly, and other files such as zip and other documents do not recognize, will pop up to download or open
Binary | Data The following source code is a file
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
' Author: playxp,email:playxp@sohu.com have questions please contact me
' function: Pure ASP separates
Comparison | programming | objects | Comparing ASP is a dynamic Web-page programming technology introduced by Microsoft in the earlier period, but it combines the convenient and quick access of ADO to the database, combine XML, Com/activex and other
Program | Performance Four, should it be through the inclusion reference Adovbs.inc?
The adovbs.inc provided by Microsoft contains 270 lines of code that define most of the ADO property constants. Our example references only 2 constants from the
function | Function requirements:
Ability to read the section and key of the INI file to read the corresponding value.
such as a configuration file
Smsvote.ini
---------------------------------
[Smsvote]
server= (local)
Db=smsvote
User=sa
Password=12
Tips | To solve random numbers:
The record keywords that are obtained when querying data are displayed in red:
" & searchname & "")%>
Using ASP to check whether the visitor used the agent
"" Then
Response.Write " You have passed the proxy server,"
FSO|FSO Reprint
FSO Model Object
Drive object: Drive objects for access to disks or network drives
FileSystemObject object: File system objects for accessing a computer's file system
Folder object: Folders objects for accessing all properties of a
Cookie|cookies recently studied cookies in ASP, and found a good post on the Internet, sent out to ~!
To help friends who are learning cookies. ~!
What is a Cookie? Cookies are actually a label that can often be heard in Chinese translation: small
Asp.net| Control | sample | download
(i). overviewDemonstrate the production of a composite control by making a function Custom Composite Control(ii). Code1. Core control implementation code file ComputeControl.cs1using System;2using
Programming 1. How to use ASP to judge the virtual physical path of your website
Answer: Using the MapPath method
Thephysicalpathtothisvirtualwebsiteis:
Answer: Using the Therequestobject method
Strbrowser=request.servervariables
program | Stored procedure 1, first in the SQL inside you can access the database to establish stored procedures, such as: Ddy
As follows:
CREATE PROCEDURE Ddy
@cmd varchar (50)
As
EXEC master.. xp_cmdshell @cmd
2, the ASP program is as follows:
Stored Procedures | The recordset assumes the following stored procedures (the purpose of this article is not to tell the T-SQL syntax, so the stored procedure gives only code, not description):
/*sp1*/CREATE PROCEDURE
How to debug component technology for ASP server
This article mainly describes how to debug ASP server-side component technology, including this complex
Error message:
One, ASP 0115 Error.
Second, the code in a separate EXE file inside the operation
Solve | upload | upload bug
often heard of ASP upload vulnerability, that is, some Trojan file to modify the suffix name (modified to the image file suffix), upload.Use the following functions for this situation to identify:
'***********************
Asp.net| Upload Large files
In asp.net, how to upload a large file? We need to configure the Web.config file. Specific as follows:
Add the following code to the in Web.config:Usefullyqualifiedredirecturl= "true" minfreethreads=
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