高手进来看看!~
如何实现 当点下一页到最后一页的时候,在点下一页就跳转到第一页???? <%if rs.pagecount > 0 then%>
<td width="28%" align="left">当前第<%=intpage%>页&nbsp;共<%=rs.PageCount%>页</td>
<%else%>
<td width="8%" align="left">当前页0/0</td>
<%end if%>
<td width="64%" align="right"> <a href="index_DQ.asp?page=1">首页</a>&nbsp;&nbsp;
<%if pre then%>
<a href="index_DQ.asp?page=<%=intpage -1%>">上页</a>&nbsp;&nbsp;
<%end if%>
<%if last then%>
<a href="index_DQ.asp?page=<%=intpage +1%>">下页</a> &nbsp;&nbsp;
<%end if%>
<a href="index_DQ.asp?page=<%=rs.PageCount%>">尾页</a>&nbsp;&nbsp;转到第&nbsp;&nbsp;
<select name="sel_page" onchange="javascript:location=this.options[this.selectedIndex].value;">
<%
for i = 1 to rs.PageCount
if i = intpage then%>
<option value="index_DQ.asp?page=<%=i%>" selected><%=i%></option>
<%else%>
<option value="index_DQ.asp?page=<%=i%>"><%=i%></option>
<%
end if
next
%>
</select>页</font></td>