这里面的上一页不能用还有下一页看看什么问题。。谢谢!

来源:百度知道 编辑:UC知道 时间:2024/05/15 12:26:19
<%
id=390
if request("id")<>"" then
id=request("id")
else
'response.Redirect("ind.html")
end if
%>
<body topmargin="0" leftmargin="0" marginheight="0" marginwidth="0" scroll="no">
<table width="800" border="0" cellpadding="0" cellspacing="0" align="center">
<tr><td height="600" valign="top" background="images/xs.jpg">
<table width="100%" border="0" cellpadding="0" cellspacing="0">

<tr><td height="580" valign="bottom">
<%
du=1
sql="select * from smallclass where id="&id
set rs=conn.execute(sql)
if rs.eof then
response.Write("<br><br><br><br><br><br><cen

能不能说清楚点什么问题

<!--#include file="conn.asp"-->
<%

curpage=cLng(request("curpage"))
if curpage<1 then
curpage=1
end if

if curpage>rs.PageCount then
curpage=rs.PageCount
end if
rs.AbsolutePage =curpage
%>