你要循环的是记录,不是分页数
改为:
<%
if rs.eof and rs.bof then
response.Write("暂时还没有文章")
else
count=0
do while not (rs.eof or rs.bof) and count
response.Write("
名称:"&rs("mc"))
response.Write("
价格:"&rs("jg"))
response.Write("
作者:"&rs("zz"))
response.Write("
")
rs.movenext()
count=count+1
loop
end if
%>