[Quote=引用 4 楼 jizhikuan 的回复:]
dim p_Index
p_Index=1000
For i=1 To rs.PageCount
rs.AbsolutePage = i
'下面就是你要写入文本代码了
Do While Not rs.Eof And p_Index>0
调用你的方法
p_Index = p_Index-1
rs.MoveNext
Loop
Next
[/Quote]
dim p_Index
p_Index=1000
For i=1 To rs.PageCount
rs.AbsolutePage = i
'下面就是你要写入文本代码了
Do While Not rs.Eof And p_Index>0
调用你的方法
p_Index = p_Index-1
rs.MoveNext
Loop
Next
dim i,conn,sql,rs
sql="select field frm tablename";
Set conn = Server.CreateObject("ADODB.Connection")
conn.Open(数据源)
Set rs = Server.CreateObject("ADODB.RecordSet")
rs.Open sql,conn,1,1
'判断下有没有数据
If rs.Eof Then
'提示
Response.End()
End If
rs.PageSize =1000
For i=1 To rs.PageCount
rs.AbsolutePage = i
'下面就是你要写入文本代码了
Next