[CODE]<%
'***********************分页******************
dim page_size
dim page_no
dim page_total
dim wenjianming
wenjianming="当前页名称"
page_size=10
if request.querystring("page_no")="" then
page_no=1
else
page_no=cint(request.querystring("page_no"))
end if
rs.pagesize=page_size
page_total=rs.pagecount
if not(rs.bof or rs.eof) then
rs.absolutepage=page_no
end if
dim i
i=page_size
%>
<%
if page_total=1 then
response.write "首页|上一页|下一页|尾页"
else
response.write "<a href=" & wenjianming & "?page_no=1>首页</a>|"
if page_no-1>0 then
response.write "<a href=" & wenjianming & "?page_no=" & page_no-1 & ">上一页</a>|"
else
response.write "上一页|"
end if
if page_no+1<=page_total then
response.write "<a href=" & wenjianming & "?page_no=" & page_no+1 & ">下一页</a>|"
else
response.write "下一页|"
end if
response.write "<a href=" & wenjianming & "?page_no=" & page_total & ">尾页</a>"
end if
'*****************************************
%>
<table width="90%" border="0">
<tr bgcolor="#b7b7b7" align="center">
<td width="10%" >姓名 </td>
<td width="20%">电话</td>
<td width="30%">Email</td>
<td width="20%">住址</td>
<td width="20%">备注</td>
</tr>
<%
do while not rs.eof and i>0
i=i-1
%>
<tr bgcolor="#00ccff" align="center">
<th ><div align="center"><%=rs("xingming")%></div></th>
<td><div align="center"><%=rs("dianhua")%></div></td>
<td><div align="center"><%=rs("youxiang")%></div></td>
<td><div align="center"><%=rs("zhuzhi")%></div></td>
<td><div align="center"><%=rs("beizhu")%></div></td>
</tr>
<%
rs.movenext
loop
%>
[/CODE]
这个文件哪里有错呀