Introduction
This paper describes the most basic and critical part of "Database file invocation" in ASP programming, and discusses some skills of database file invocation in ASP programming.
Introduction to ASP
ASP (Active Server Pages) is a Web
Copy Code code as follows:
'*************************************************
' Function name: Getmaxorder
' Function: Get maximum serial number
' parameter: fieldName----The field name in the Serial number table
' TableName----The table
That
If there are spaces to replace with%20, if there are other characters to replace with%ASCII, if there are characters such as four bytes of character, the use of two%ascii to replace. But sometimes we also need to decode this encoded string, but
The last mention of the upload image is adopted by the old Farmer's development of the component-free upload. The upload process is to save the picture to the specified folder, while saving the path to the database field. The display picture is
Learned the FSO to extract the file value, but also learned to input the information into the file, then the following application.
Do not know you have no such habit: see a file, the unconscious right to choose to open Notepad. Oh, almost no
FSO, as exciting as the UFO, fascinating, of course, more people are happy to let people worry. You do not see a space service provider advertising: 100MB space as long as 60rmb/years, supporting the database, support what what ... A question does
This component is used to create one or more counters that track information about the number of visits to a Web page or a Web site. You can only create one counter component, but the component may have more than one counter.
Once the counter has
We already know that the scripts for the OnStart, onend events of the application and session objects must be declared in the Global.asa file. What kind of a file is Global.asa? What is the role of it? And how to use it? And listen to me
I have a limited level of negligence, it is inevitable that the omission of the place, but also hope that everyone criticized, this first thanked.
Introduction to ASP Programming (i): Installing a configuration Server
Since ASP scripting
A lot of people need, there are a lot of people asked, I remember in a post made a detailed reply.
Now get it sorted out!
1, download the file
Imgchk.rar
The compressed package is a Imgchk folder with three files:
This is just an ASP tip class thing, although it is suitable for each of the different file names call this function, but there are prerequisites, let's take a closer look at the story.
The following section is the basic page-splitting code:
Set rs=
URL encoding means that in order to transfer information through the URL, some characters that have special meanings must be replaced by a coding method, in the ASP we all know that there is a server.urlencode function to complete this function.
DirectoryFirst, the Environment configurationThe basic operation of ASP to ExcelASP operation Excel to generate datasheetIv. ASP operation Excel generates chart diagramFive, server-side Excel file browsing, downloading, deletion schemeVI.
Calendar controls are one of the. NET controls that are powerful and useful in many project development, and are essential for blogging systems. The good jade also needs to carve, in order to make it more beautiful and practical, we also need to
The code is as follows:
Just save this code as an ASPX file, such as Test.aspx. Then put it in the wwwroot (assuming your virtual directory is the default). To do a test.jpg picture, you can print the text of the font "XXFarEastFont-Xingkai" in
With ASP.net, server-side events are automatically triggered when the page is refreshed. To give a simple example, such as: a registration page, we fill out the registration information, if you press F5 Refresh, will automatically trigger to the
Look at the code:
Copy Code code as follows:
Dim conn,rs,excelfilename
Excelfilename=server.mappath ("Data/test.xls")
Set conn = Server.CreateObject ("ADODB. Connection ")
Conn.connectionstring= "Provider=Microsoft.Jet.OLEDB.4.0;
Eval evaluates the value of an expression and returns the result.
Syntax: [result =]eval_r (Expression_r)
Expression_r is a string of any valid VBScript expression
Example:
Copy Code code as follows:
Response. Write (Eval_r ("3+2")) '
Writing a:
Copy Code code as follows:
Sub sendsms (mobile,msg)
If you need to send multiple mobile phone number, please automatically cycle, multiple mobile phone number between "," separated, the last mobile phone number does not add,
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.