请教,我的这段分页代码那错了?
<%set conn=server.createobject("adodb.connection")
conn.open "provider=microsoft.jet.oledb.4.0;data source="& server.Mappath("tupian.mdb")
set rs=server.createobject("adodb.recordset")
sql="select * from tu"
rs.open sql,conn,1,1
page=request.form(page)
if page="" or isnull(page) then
page=1
end if
rs.pagesize=2
page=cint(page)
if page<1 then
page=1
elseif page>rs.pagecount then
page=rs.pagecount
end if
rs.absolutepage=page
%>
<form name="form1" method="post" action="03.asp">
<table width="160" border="1" align="center">
<%
do while not rs.eof and not rs.bof%>
<tr>
<td><%=rs("name")%></td>
</tr>
<%
rs.movenext
loop
%>
</table>
</form>
<div align="center">
<% if page<>1 then%>
<a href="03.asp?page=1"><font size="2">第一页</font></a>
<a href="03.asp?page=<%=page-1%>"><font size="2">上一页</font></a>
<%end if%>
<% if page<>rst.pagecount then%>
<a href="03.asp?page=<%=page+1%>"><font size="2">下一页</font></a>
<a href="03.asp?page=<%=rst.pagecount%>"><font size="2">最后一页</font></a>
<%end if%>
</div>
Microsoft VBScript 编译器错误 错误 '800a03f6'
缺少 'End'
/iisHelp/common/500-100.asp,行242
请求对象 错误 'ASP 0102 : 80004005'
需要字符串输入
/00000000000/03.asp,行6