Generally, data records are extracted from the database. You need to use SQL statements to query and obtain the relevant record set. Then, select related fields and related record rows from the record set for display.
In the process of
Accept macro Restriction
This file must exist and be pre-compiled (no matter whether the preceding conditions are met)
This is often the case where different files are included according to different requirements.If you have different settings,
Database field: ID (automatic number), class_name (menu name), parentid (parent menu ID)
CopyCode The Code is as follows: Dim m
M = 0
Call showtree (0) %>
Sub showtree (parentid)
Dim s
M = m + 1
Dim rs
Set rs = server. Createobject ("ADODB.
Free Sponsorship
Do not place advertisement (preferably)
When using a space, it must be noted that the space is sponsored by the Ghost World.
The initial application space is 50 MB (Support: ASP. net acc ftp fso domain name is bound to IIS 50)
Jin canhui provides 50 m free ASP space service for you
Model: ASP host 50 m (asp050)
Price: 0 RMB/year
Content: 50 masp free web page space is free for a long time. It is free for a long term and can be bound to a domain name.
You can also send
To debug an Asp.net project, you need to create a virtual directory with the same name as the project.
To change the project name, do the following to avoid errors:
1. Open Web. csproj. webinfo in notepad and replace the virtual directory path
This article uses VB5.0 to create an ActiveX DLL file, which simulates a rolling process and describes how to call DLL in ASP.
Dynamic connection library (DLL) is an important way to speed up the execution of key parts of the application, but I am
This article describes ASP. NET real-time weather and 24-hour Weather Forecast in detail.
Modify the url to obtain the topic of the article about weather conditions in other cities.
ASP. NET real-time weather and 24-hour Weather Forecast (C
This document describes how to use global variables in two ASP. Net projects. The web. config file and the Gloab file. Note the following:
Method 1: web. config file-- Settings:In the web. the keyword key is added to the config file through the
In large ASP projects, many pages involve the paging function. If every page is written with a flip-page program, this work reduces the work efficiency, is not conducive to the modularization of the project, and cannot reuse the code. Therefore, it
Index. asp of the first File
The second login. asp
Response. ContentType = "text/xml"Response. Write (" ")Response. Write (" ")Response. Write (" love you ")Response. Write (" ")%>
One method is to use Index Server query object and parameters:
Set Q = Sever. CreatObject ("ixsso. Query ")
'Create a query object.Set Util = Sever. CreatObject ("ixsso. Util ")Q. Query = Request ("SearchString ")
'Query the field.Q. SortBy =
Formhandler. aspDim RequestMethod
RequestMethod = Request. ServerVariables ("REQUEST _ METHOD ")
'Get the value of REQUEST_METHOD and store it in a local variable. when the Web page is called by the form-marked Action parameter, the value of
Dim varInitial_TimeVarInitial_Time = TimerResponse. Write "Initial_Time = [" & varInitial_Time & "] "%>
For I = 1 to 10Response. write "Dancing With The Wind (www.intels.net) fashion consulting personal website welcome you! "& I &" "Next%>
you
Copy codeThe Code is as follows: strSourceFile = Server. MapPath (dataxml & "/Advertisement/" & id & "/adv. xml ")
Set objXML = Server. CreateObject ("Microsoft. XMLDOM") 'creates an XML Object
ObjXML. load (strSourceFile) 'reads XML files into
Common functions of ASP.
Dim dbDb = "dbms. mdb"
'*************************************** ***************************'Execute the SQL statement without returning the value. The SQL statement should be as follows:'Update table name set field name =
'Has two sides index.htm is the home page. The program is relatively simple, mainly using files in ASP to operate objects.
Http://www.w3.org/TR/html4/loose.dtd> Untitled Document
send messages '// Send. asp
Function chan_time (shijian)
Copy codeThe Code is as follows: '--------------------------------------------------------------
'Match object
'Matched search results are stored in the Match object, providing access to read-only attributes matching regular expressions.'Match
Dim iniPath, iniFileName, iniStr, tmpStr, nDim userName, passWord, tmp
UserName = "myfso222" 'User NamePassWord = "awaysrain" 'passWordTmp = "ai" 'randomly generates two lower-case letters (it should be randomly generated, but I omitted it
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.