<%
set conn=server.createobject("adodb.connection")
conn.open "dsn=xinda;uid=Welcome"
sqlexe="select * from movie_list where type=1"
set rspage=server.createobject("adodb.recordset")
rspage.open sqlexe,conn,1,3
rspage.pagesize=10
pagenum=rspage.pagecount
response.write("动作片共有"&pagenum&"页-----------------------<br>")
for i=1 to pagenum
rspage.absolutepage=i
rspage.movefirst
response.write("这是第"&i&"页----------------------------<br>")
for n=1 to rspage.pagesize
response.write("影片名:"&rspage.fields("m_name").value&" 影片id是:"&rspage.fields("id").value&"<br>")
rspage.movenext
next
next
%>
结果每页都是同一样的内容,rspage.movefirst到底放那啊~只有这个地方不提示bof和eof错误