The following example shows what a simple ado.net application which connects to the Northwind database and returns a list O F Categories would look like. The example writes the output to the console, or command prompt.
The following example shows
Dynamic | pagination | Performance Original: Zhanglifeng Zhang Wu
Overview
Now there are a lot of introduction to the use of ASP to achieve dynamic pagination of the article, the same method, that is, every time using ADO to return the original
Asp. NET is the latest version of Microsoft's ASP technology.
The basics you should have
Before continuing your study, you need to have a basic understanding of the following knowledge:
Basics of WWW, HTML, and website construction
Menu | data | Database
Set Rs=server.createobject ("ADODB. RecordSet ")
Sql= "Select Menu_name, Menu_link, Menu_bgcolor, menu_color,id from enter_individual WHERE (parent_id = (select IDs from ENT er_individual WHERE menu_flag = ' root ') "' Query
Pagination | data | database
REM A section of code that implements database record paging through GetRows in ASP
Dim IStart, Ioffset
IStart = Request ("Start")
Ioffset = Request ("Offset")
If not IsNumeric (IStart) or Len (IStart) = 0 Then
IStart
If you write an ASP program, want to let your user see ASP's raw code, you can use FileSystemObject this object to send out the program original code.
Dim strURL
strURL = Request.QueryString ("URL")
Dim Strdir, strFileName
Strdir =
Batman Translation Finishing
A very good ASP program to build your own voting system. Read it carefully, and as long as you can understand the key technologies in the middle, you can build your own polling station on your website. The papers were
Microsoft in ASP gives us a way to use ActiveX to do the page, we use a simple crawl page example to actually explain this method, in this site's column of the PHP layout, I have talked about how to use PHP to crawl other sites page.
url =
Caching OverviewCaching is a technique this is widely used in computing to increase performance by keeping frequently accessed or Expensiv e data in memory. In the context of a WEB application, caching are used to hold onto pages or data across HTTP
/*
Tofu production is a boutique
Http://www.asp888.net Tofu Technology Station
If you copy this article please keep the copyright information
*/
This is tofu in foreign see an English article, the original is very long tofu deleted some useless
Program DeleteFolder method
Deletes a specified folder and its contents.
Object. DeleteFolder folderspec[, Force]
Arguments
Object
Required. Always the name of a filesystemobject.
Folderspec
Required. The name of the folder to delete. The
Server people know that the direct use of ASP is not enough to restart the server, then we need to make a component to implement the function, ASP through this component calls the system API, and then according to different restart and shutdown mode
Asp.net| Page | life cycle
One: Initializing init: Initializing Object--init Event (OnInit method)Two: Load view state: LoadViewState methodThird: Processing postback data: LoadPostData Method--In fact, this step is only loaded, and did not do other
Controlling Flash with ASP
A recent project has required a few things that I haven ' t doing for a while. One is dealing with Flash-
which I haven ' t done since shortly on the release of Flash 3.0. The other are to actually figure some
Way of
asp.net|datagrid| problem Alas, only now found that the original in asp.net IsPostBack attribute is how important ...
It is generally in Page_Load to check whether it is the first time to load this page or to determine whether the user submitted
?
$ASPservername: This variable must have IP in
/etc/hosts in the file.
$ASPport: ASP file Server port number.
$ASPpath: The ASP file path on the server side.
$ASPfile: ASP file name
$ASPurlredirect: $ASP file parameters.
Setting
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 ("MSXML2.") XMLHTTP ")
Httpreq.open "Get",
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.