你去下载一个1号留言版看看,就知道怎么做了。

解决方案 »

  1.   

    pagesize=30rs.PageSize = PageSize
    totalfilm=rs3.recordcount
        pgnum=rs3.Pagecount
        response.write(pgnum)
        if page="" or Clng(page)<1 then page=1
        if Clng(page) > pgnum then page=pgnum
       if pgnum>0 then rs3.AbsolutePage=page
    <td width="467" align="left"> 
     <%if page<=1 then%> 首 页 上一页 <% else %> <a href="?.asp?page=1">首 页 <a href="?.asp?page=<%=page-1%>">上一页</a><%end if%><%if rs.pagecount-page<1 then%> 下一页  尾 页  <%else%> <a href="?.asp?page=<%=page+1%>">下一页</a>  <a href="?.asp?page=<%=rs.pagecount%>">尾 页</a> <%end if%>     </td>