I. Basic ASP knowledge
1. asp is short for Active Server Pages and is an interpreted script language environment;2. To run ASP, Windows OS is required. PWS must be installed in 9x, and Internet Information Server (IIS) must be installed in NT/200
Match ASP with MySQL
Required tools
Mysql-4.1.11-win32Myodbc-3.51.11-1-dllMyodbc-3.51.11-1-winMysqlcc-0.9.4-win32
-------------------------------------------------------------------
Register the file mydbc. Reg
Regedit4
It took a little time to change the SQL module of the top 2006 of Haiyang to vbs, which is the same as its function. However, it may not be as comfortable as ASP, but it can be used, it can be used in DOS. It is estimated that you will need it when
I saw an anti-collection software on the internet yesterday, saying that the collection only accesses the current web page, but does not access the images and Js of the Web page. Today, I suddenly think that through dynamicProgramAnd JS access
CopyCode The Code is as follows: Rem XML cache class
'--------------------------------------------------------------------
'Reserve the copyright information during reprinting.
'Prepared by: Mmm.
'Version: ver1.0
'The usage of this category draws on
Method 1:
CopyCode The Code is as follows: Id = request. Form ("checkbox ")
Id = Split (ID ,",")
Shu = 0
For I = 0 to ubound (ID)
SQL = "select * From jiang_fname where id =" & ID (I)
Set rsw.conn.exe cute (SQL)
If not Rs. EOF then
Delete_file (RS (
Because I have been engaged in Java and do not understand the VB syntax, I was unable to solve this problem for a day (half a year ago). Later, I did not pay attention to it due to the rush of time, I think of it by accident today and finally solved
In ASP programs, if our programs are improperly designed, the database may be controlled by others.
The following is a simple code for changing the password of a user:---------------------Username = request ("user_name ")Pwd = request ("PWD
This article describes a basic idea and implementation method for implementing Web data statistics and reports using ASP, and provides a solution for cleverly calling word printing reports.
Key words: Asp, data statistics, reports, printing, word
1
This is a detailed article on how to streamline code and Asp features for the fastest execution speed. For a dry user, any latency between pressing the user button and the result on their screen may mean that they will go to another site? If you are
Copy codeThe Code is as follows:
select a file
select a file (excel)
return
Dim upfile_5xSoft_Stream
Class upload_5xSoft
Dim Form, File, Version
Private Sub Class_Initialize
Dim iStart, iFileNameStart, iFileNameEnd,
Class Declaration
Declaring a class name is to define some variables, attributes, and methods to form a class. We often see descriptions of classes in other programming languages, such as PHP, VB, and C ++. This class description in VBScript is the
Copy codeThe Code is as follows: rs. open SQL, conn, 1, 1
If rs. eof and rs. bof then
Response. write " no article found "
Else
TotalPut = rs. recordcount
Maxperpage = 18
If currentpage Currentpage = 1
End if
If (currentpage-1) * maxperpage>
I personally think it is better to use Update.After some tests, it is found that the size of the database file is not small after almost all databases use the delete statement, so that each database insertion Operation will increase the size of the
After reading this ajax example tutorial, I believe that you can easily make a basic AJAX application.
You can also directly access: http://www.jb51.net/codes/57017.html to download the ajax tutorial source code example.
Well, next we will start to
Copy codeThe Code is as follows:
'--------------------------------------------------------------Dbname = "../data/flash. mdb" 'changes the database file location. We strongly recommend that you change it to a. asp file!Set Conn = Server.
The following is a code snippet:'*************************************** ***************************'** Program name: "infinite stream" Paging Program*** Author: Arbiter (AAsx)'** Version: Million Level'**'** QQ: 22222xx'** Email: Arbiter@21cn.com'**
1. Create a database name in SQL server: house runs the following script in house
If exists (select * from sysobjects where id = object_id (n' [dbo]. [City] ') and OBJECTPROPERTY (id, n'isusertable') = 1)Drop table [dbo]. [City]GO
If exists (select
Copy codeThe Code is as follows: '--------------------------------------------------------------
Dbname = "../data/flash. mdb" 'changes the database file location. We strongly recommend that you change it to a. asp file!
Set Conn = Server.
ASP database simple operation tutorial. database Connection (used to separate the connection file Conn. ASP) (used to connect users in the BBS/db1/directory. mdb database) display database record principle: displays the records in the database one
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.