求各位大神。怎样根据标题进行分页显示??结合我这里的代码。

<body><formid="form2"name="form2"method="post"action=""><p>所有文章<hralign="left"noshade... <body>

<form id="form2" name="form2" method="post" action="">

<p>所有文章 <hr align="left" noshade="noshade" />

<ul>

<%

sql="select * from blognews order by blogid desc"

if(request.Form("blogbt")<>"") then

blogbt=request.Form("blogbt")

sql="select * from blognews where biaoti like '%" & blogbt & "%' order by blogid desc"

end if

rs.open sql,conn

if not rs.eof then

while not rs.eof

%>

<li><a href="see.asp?blogid=<%=rs("blogid")%>"><%=rs("biaoti")%></a><p></p></li>

<%

rs.movenext

wend

end if

%>

</ul>

</p>

</form>

</body>
asp的。
展开
 我来答
wzpsfather
2016-05-27 · TA获得超过559个赞
知道小有建树答主
回答量:765
采纳率:33%
帮助的人:398万
展开全部
记录集rs,有三个属性
1) rs.PageSize=# 写操作。设置每页记录行数
2) rs.pagecount 读操作。自动生成页数
3) rs.AbsolutePage=# 写操作。指定当前页
还有个可能需要的属性rs.recordcount记录的总行数
追问
你可以帮忙把代码加上去吗。详细些。我是一个菜鸟。
请求大神们的详细指点。🙏🙏
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式