ASP比较内行的进来看看!

lsqlz lsqlz 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
调试ASP报错 帮小弟看看

错误类型:
ADODB.Field (0x80020009)
BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。


源代码
<%
if session("id")="" then
response.redirect "../login/login.asp?pageid=main"
response.end
else
id=session("id")
%>
<!--#include file="dbconn.asp"-->
<!--#include file="../inc/confignew.asp"-->
<%
Set rssort= Server.CreateObject("ADODB.Recordset")
sortsql="select * from class1"
rssort.open sortsql,conn,1,1
%>

<%do while not rssort.eof%>
<TR>
<td width="33%" height="25" align="left"><p style="line-height: 150%"> <a
href="buop.asp?sortid=<%=rssort("sortid")%>"><%=rssort("sort")%></a></td>
<%rssort.movenext%>
<td width="33%" height="25" align="left"><p style="line-height: 150%"> <a
href="buop.asp?sortid=<%=rssort("sortid")%>"><%=rssort("sort")%></a></td>
<% rssort.movenext %>
<td width="33%" height="25" align="left" ><p style="line-height: 150%"> <a
href="buop.asp?sortid=<%=rssort("sortid")%>"><%=rssort("sort")%></a></td>
</TR>
<%
rssort.movenext
loop
rssort.close
%>
...全文

相关推荐

评论 8
收藏 已收藏
分享
返回顶部
lsqlz
ASP 28,401 成员 356,940 内容