?? pgso.asp
字號(hào):
<%
rs.pagesize=10
pagecount=rs.pagecount
page=int(request.QueryString("page"))
bt=session("bt")
if page<1 then page=1
if request.QueryString("page")="" then
page=1
end if
rs.AbsolutePage=page
%>
<%
if Page<>1 then
response.write "<a href=?so="+cstr(bt)+"&page=1>首頁(yè)</a> "
response.write "<a href=?so="+cstr(bt)+"&page="+cstr(Page-1)+">上一頁(yè)</a> " '********
else
Response.Write "首頁(yè) 上一頁(yè) "
end if
if Page<>pagecount then
response.write "<a href=?so="+cstr(bt)+"&page="+cstr(Page+1)+">下一頁(yè)</a> "
response.write "<a href=?so="+cstr(bt)+"&page="+cstr(pagecount)+">尾頁(yè)</a> "
else
Response.Write "下一頁(yè) 尾頁(yè) "
end if
%>
<% for i=1 to pagecount %>
<% if cstr(i)=request.querystring("page") then
response.write(cstr(i))
else
response.write" <a href=?so="+cstr(bt)+"&page="+cstr(i)+">"+cstr(i)+"</a> "
end if
%>
<% next %>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -