1. Determine which record to delete
It is nothing more than an SQL statement, for example, corresponding to a specific ID.
Id = request. Form ("ID ")SQL = "select * From cnarticle where cn_id =" & IDSet rs = server. Createobject ("ADODB.
========================================================== ==================================
'Thank you for using the practical functions developed by asp001 studio.
Program
'Http: // www. asp001.net
'============================================
Two common file generation methods in ASP are: Using ADODB. Stream to generate a file and using Scripting. FileSystemObject to generate a file.
1. Scripting. FileSystemObject file generation method:Copy codeThe Code is as follows: Set fso =
"Everything is Object", which is known to anyone in the object-oriented programming language. But for me, this is a feeling that it is hard to say. Due to my lack of JavaScript and knowledge, I learned how to use ECMAScript while reading the Asp.net
The last time we learned about JavaScript Microsoft AJAX Library in general, it seems a little abstract because of temporary issues. This time, we will certainly use some examples to Make Asp more intuitive. NET Ajax script library is a very
The following mappings are often performed in projects:
Set
Http://onewww.net/a.aspx? Name = llinzzi
Map
Http://onewww.net/llinzzi
First, we need to solve two problems.
The first is to support wildcard URL ing URL ing, which is a new feature of asp.
Copy codeThe Code is as follows: Dim objXML
Dim objRootElement
Dim strValue
Dim strInetURL
Dim strXML
Dim item
StrInetURL = "http://pf.inetsolution.com/inetactive2001/inetactive2001news.xml"
Dim HttpReq
Set HttpReq = server. CreateObject
1. Enable record set again before it is disabled:
------------------------------------
SQL = "select * from test"
Rs. open SQL, conn, 1, 1
If not rs. eof then
Dim myName
MyName = rs ("name ")
End if
SQL = "select * from myBook"
Rs. open SQL, conn, 1,
To sum up, the operation on the database is nothing more
Display records, insert records, modify records, delete records, and query records.
In addition, it also involvesOutput Format and paging program displayedThen, we can combine the insert
It should be said that I learned how to insert records and how to display records, so now the simple and complete article system, news system and message system are not a problem. Then the following problem is: as the content of the information
I. On Error statements
This statement is used to enable or disable error handlers. The general usage is as follows:
On Error Resume NextOn Error GoTo 0
In your codeUnusedOn Error Resume Next statement, the Error message is displayed
I learned how to extract the file value from FSO and input the information into the file. Then I will apply it again.
I don't know if you have the habit of seeing a file, right-click it unconsciously and choose to open it with notepad. No file is
After the drive is operated, the folder is operated. Including extracting Folder Information, creating folders, deleting folders, copying folders, and moving folders. Next, let's take a look.
I. fso. GetFolderAt first glance, we can see that the
We already know that the OnStart and OnEnd event scripts of the Application and Session objects must be declared in the Global. asa file. What kind of file is Global. asa? What is its role? How should we use it? Let me hear about it.
First. AsaIs
This component is used to create one or more counters that track the number of visits to a webpage or website. You can create only one counter component, but this component can have more than one counter.
Once a counter is created, it continues
To be honest, no matter asp, php or jsp network programming, interaction with users is inseparable.
The human-machine interaction platform basically relies on the corresponding text and list box for input, and then submits the data to the database
My skills are limited, and I am sorry for any omissions. I hope you will criticize and correct them. Thank you for your patience.
Advanced ASP programming (1): Install the configuration server
The ASP scripting language is interpreted and run in
ASP is a service function provided by the server. It is highly concealed and hard to detect and kill because it is a vulnerability in upfile files of dvbbs recently, this poses a serious threat to website security. Therefore, the prevention and
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.