李小兵资源百度网盘:BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。

来源:百度文库 编辑:高校问答 时间:2024/05/07 07:38:04
当代码为:
<form name="pa" method="post" action="">
<td width="70%" height="20" align="right" valign="middle" class="font">共<font color="#FF2D00">[<%=rc.RecordCount%>]</font>条 今日更新<font color="#FF2D00">[<%=todayRecord%>]</font>条
分<font color="#FF2D00"><%=rc.pagecount%></font>页 <font color="#FF2D00"><%=rc.pagesize%></font>条/页
当前第<font color="#FF2D00"><%=Page%></font>页
<%if Page>1 then%>
<a href="?Page=<%=Page-1%>">上页</a>
<%else%>
上页
<%end if%>
<%if Page < rc.pagecount then %>
<a href="class.asp?class=<%=rc("News_Class")%>&Page=<%=Page+1%>">下页</a>
<%else%>
下页
<%end if%>
<input name="Page" type="text" class="input" id="Page" value="<%=Page%>" size="3">
<input name="Submit2" type="submit" class="button" value="转到该页">
</td>
</form>
一点问题都没有,但点上一页会出现错误
我把代码改成:
<form name="pa" method="post" action="">
<td width="70%" height="20" align="right" valign="middle" class="font">共<font color="#FF2D00">[<%=rc.RecordCount%>]</font>条 今日更新<font color="#FF2D00">[<%=todayRecord%>]</font>条
分<font color="#FF2D00"><%=rc.pagecount%></font>页 <font color="#FF2D00"><%=rc.pagesize%></font>条/页
当前第<font color="#FF2D00"><%=Page%></font>页
<%if Page>1 then%>
<a href="class.asp?class=<%=rc("News_Class")%>&Page=<%=Page-1%>">上页</a>
<%else%>
上页
<%end if%>
<%if Page < rc.pagecount then %>
<a href="class.asp?class=<%=rc("News_Class")%>&Page=<%=Page+1%>">下页</a>
<%else%>
下页
<%end if%>
<input name="Page" type="text" class="input" id="Page" value="<%=Page%>" size="3">
<input name="Submit2" type="submit" class="button" value="转到该页">
</td>
</form>
以后就出现了标题中的错误
而且提示出错的位置是那个文件的第0行!

<form name="pa" method="post" action="">

action="" 你要把表单提交到哪??老大