主题:bookmark,showpages,showContent是什么意思?
<%
set rs=server.createObject("adodb.recordSet")
sql="select * from need order by ZID desc"
rs.open sql,conn,1,1
if rs eof and rs.bof then %>
<p align="center"><font color="#ff0000">还没有信息!</font></p>
<%else
rs.pagesize=15
totalPut=rs.recordCount
totalPage=rs.pagecount
MaxPerPage=rs.pagesize
if currentpage<1 then
currentpage=1
end if
if currentpage=1 then
showpages
showContent
else
if(currentPage -1)*MaxPerPage<totalPut then
rs.move(currentPage -1)*maxPerPage
dim lookmark
lookmark=rs.bookmark
showpages
showContent
end if
这三句是什么意思?
lookmark=rs.bookmark
showpages
showContent
set rs=server.createObject("adodb.recordSet")
sql="select * from need order by ZID desc"
rs.open sql,conn,1,1
if rs eof and rs.bof then %>
<p align="center"><font color="#ff0000">还没有信息!</font></p>
<%else
rs.pagesize=15
totalPut=rs.recordCount
totalPage=rs.pagecount
MaxPerPage=rs.pagesize
if currentpage<1 then
currentpage=1
end if
if currentpage=1 then
showpages
showContent
else
if(currentPage -1)*MaxPerPage<totalPut then
rs.move(currentPage -1)*maxPerPage
dim lookmark
lookmark=rs.bookmark
showpages
showContent
end if
这三句是什么意思?
lookmark=rs.bookmark
showpages
showContent