web tools rank checker

domain .cn
.net .cn .com.cn
你正在阅览 :: 简体中文:: 学习 ASP SQL VB HTML code

学习 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在阅览 :: 简体中文 Chinese_Simplified

学习.主题:
首页
ASP
. Active-Server-Flash
. Array
. Connection
. Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
»GetSQLserver-Recordset
»GetSQLserver-StaticRecordset
»rs.open
. Request
. Response
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....学习.教学 > ASP > recordset » getsqlserver-staticrecordset

3w learning

recordset >
getsqlserver-staticrecordset

Title:

Get SQLserver Static Recordset - read data from SQLserver DB


由SQLserver 对象读取数据,
计录出笔数并将每笔资料编号
Description:

GetSQLserverStaticRecordset [ includes static counting ] GetSQLserverRecordset [ no static counting ]


含有static时将使用主机较多资源
Example Code:

<% sub= " order by c1" SQL="select * from Table where c1='"&b1&"' " & sub Set rs= GetSQLserverStaticRecordset( conn, SQL) rs.AbsolutePosition=5 %> <% =rs("c2") %> ---------------------------------------------------- <% SQL="select * from aTable " Set rs = GetSQLserverStaticRecordset( conn, SQL) %> <% rs.PageSize = 10 rs.PageCount ShowOnePage rs, Page %> <% Sub ShowOnePage( rs, Page ) End Sub %> ---------- tips memo ---------- For Access : GetMDBStaticRecordset .... For Excel: GetExcelStaticRecordset For FoxPro :GetExcelStaticRecordset For Text : GetTextStaticRecordset For dBase : GetdBaseStaticRecordset For SQLserver : GetSQLserverStaticRecordset


尽量在有需要使用每笔数据的编号时
才使用static
Example Result:


display number 10's c2 data ------------------------------------------ list 10 raw a page create a number (rs.PageCount) for each raw


..
...
...

[ 7/27/2008 ]

www learning school add more scripts and tips memo
You are at >>3WS.EZER.COM >> 3WS.EZER.COM/ASP/RECORDSET/GETSQLSERVER-STATICRECORDSET.ASP>>ASP
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email