翻页问题
<table align="center"><tr>
<td height="50" valign="top" align="center">
<%
response.Write("当前共有<%=rs.recordcount%>条用户记录")
if page =1 then
response.Write"<font color=darkgray>首页 前页</font>"
response.Write"<a href="view1.asp?page=1">首页</a><a href="view1.asp?page=<%=page-1%>">前页</a>"
end if
if page =allpages then
response.Write"<font color=darkgray>下页 末页</font>"
else
response.Write"<a href="view1.asp?page=<%=page+1%>">下页</a>
<a href="view1.asp?page=<%=allpages%>">末页</a>"
end if
%>
</td>
</tr>
</table>
在设计视图出现这种情况
ASP条用户记录") if page =1 then response.Write"首页 前页" response.Write"首页前页" end if if page =allpages then response.Write"下页 末页" else response.Write"下页 末页" end if %>
请高手指教指教