Summary:
This paper discusses the method and function realization of using ASP to access DBF, DBC, MDB, Excel, SQL Server data, and finally gives an example of accessing Excel database by using the function provided in this paper, which has strong
Validate the legality of the data in a "Regular Expression object" in ASP
When we make a website, especially a variety of e-commerce sites, first of all, we will allow users to fill out a number of forms to obtain registered users of various
ASP itself does not have the ability to send mail, but if you want to use ASP to send e-mail (for example: You have a message, just want to let those in your message book left a statement on the Internet users know that you want the Internet users
ASP tutorial. NET Cookies record the number of user logons and prevent the same account from repeatedly logging on
Place on the successful landing:
string key = TextBox1.Text///Username text box set to cache keyword
String uer =
The foreach statement repeats an embedded statement group for each element in an array or collection of objects. The foreach statement is used to iterate through the collection to obtain the required information, but it should not be used to change
ASP tutorials. NET C # int type conversions
int i =-1; BOOL B = Int.tryparse (null, out i);
After execution, b equals false,i equals 0, not equal to 1, remember.
int i =-1; BOOL B = Int.tryparse ("123", out I);
After execution, b equals true,i
The portal function for a Windows Forms application is in the Program.cs file, but where is the WPF application Portal function when the WPF application does not have this file? Add a portal function manually, build the project, and make an
First, we need to download DC.Web.HttpCompress.dll and reference it to our ASP.net project. Next in the web.config simple configuration, you can achieve gzip compression, need to configure the place as follows:
The code is as follows
The Web API could have been returned in JSON format, why should we make some changes to it?
Because the Web API returns XML by default, the Content-type:application/json is set in the submission request;
Returns the JSON-formatted data!
But how
From the online interest dash down the ground to download the ASP source code, ready to study the time.
An open file, the code of the Heavenly book. That's depressing, isn't it:(
On the internet is found the decryption method, get a file by a
List. asp files displayed in the online user listDim onliuser, onlinumOnliuser = application ("onliuser ")Onlinum = (len (onliuser)-len (replace (onliuser, "','", "")/3 + 1%> online list online list of [ persons] All Error message file error.
This may be the core of our forum, but it has nothing special to achieve. There are still old things: Form processing, database queries, and organically combining them with ASP.After entering the document review mode (as mentioned above), the most
The security authentication mechanism of IIS is very good. We can use ASP security verification to modify the administrator password of windows 2000 online.When someone logs on to the site, use LOGIN_USER in the ServerVariables collection to capture
Brief IntroductionASP is so simple that many developers do not think about error handling. Error handling can make your application more reasonable. I have seen many commercial websites written in ASP, and most of them ignore error handling.Error
There is no bit operation in vbs, so js and vbs are used in a page, which is not good. If you use vbs, you can do it, but it is a bit too long, and pay attention to it, if you split ("202.102.29.6", ",") in vbs, you will get three numbers: 202,102
Asp mathematical functionsCommon mathematical functions:Function syntaxAbs (num) returns the absolute value of a number.Sqr Squ (num) returns the square root of a number.Sin (num) returns the sine of the angleCos (num) returns the cosine of the
This part of the code is obtained from other materials on the Internet, and I modified and improved it. I used the clumsy method replace (hey, I have not mastered the regular expression) to implement the UBB code, I have always felt that this method
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.