asp分页显示 补充代码

来源:百度知道 编辑:UC知道 时间:2024/07/05 19:28:55
我要做一个显示留言的页面 下面的代码可以实现显示功能 但是怎么向其中补充代码实现分页显示(共检索到
留言 共*页 当前第*页 首页 上页 下页 尾页 )
<!--#include file="conn.asp"-->
<html>
<head><title>显示留言</title>
<style type="text/css">
<!--
.style2 {
font-size: 16px;
font-weight: bold;
}
-->
</style> </head>
<body>
<table width="300" border="0" align="center">
<tr>
<td align="center"><span class="style2">留言板查看</span></td>
</tr>
</table>
<br>
<br>
<table width="200" border="0" align="center">
<tr>
<td align="center"><a href="feedback.asp">发表留言</a></td>
</tr>
</table>
<br>
<br>
<%

<!--#include file="conn.asp"-->
<html>
<head><title>显示留言</title>
<style type="text/css">
<!--
.style2 {
font-size: 16px;
font-weight: bold;
}
.style3 {color: #FF0000}
-->
</style> </head>
<body>
<table width="300" border="0" align="center">
<tr>
<td align="center"><span class="style2">留言板查看</span></td>
</tr>
</table>
<br>
<br>
<table width="200" border="0" align="center">
<tr>
<td align="center"><a href="feedback.asp">发表留言</a></td>
</tr>
</table>
<br>
<br>
<%
set rs=server.CreateObject("adodb.recordset")