是高手就进来解决ADODB.Field (0x800A0BCD)问题

likwxd 2006-10-23 11:17:47
代码:
<td width="100" height="22" align="center">联系地址</td>
<td width="400" height="22"> <%=rs("dz")%> [邮编:<%=rs("yb")%>]</td>
</tr>
<tr valign="middle" bgcolor="#FFFFFF">
<td height="22" align="center">拥有财富</td>
<td height="22"> <%=rs("je2")%>元</td>
</tr>
<tr valign="middle" bgcolor="#FFFFFF">
<td height="22" align="center">开店</td>
<td height="22"><%set yz = conn.execute("select id,zt,name from shop where huiyuan='"&rs("huiyuan")&"'

order by id asc")
if yz.eof then
Response.Write("未申请")
else
i=1
do while not yz.eof
Response.Write " "&i&"、<a href=/user/index.jsp?userid="&yz(0)&" target=_blank>"&yz(2)

&"</a>  [状态:"
Select case yz(1)
case "0"
Response.Write("<font color=#ff0000>未审核</font>")
case "1"
Response.Write("<font color=#ff6600>试营业</font>")
case "2"
Response.Write("营业中")
case "3"
Response.Write("<font color=#ff0000><del>已过期</font>")
case "4"
Response.Write("<del>已作废")
End Select
Response.Write "]<br>"
i=i+1
yz.movenext
loop
end if

错误提示:

ADODB.Field (0x800A0BCD)
BOF 或 EOF 中有一个是“真”,或者当前的记录已被删除,所需的操作要求一个当前的记录。
shop/admin/user/user.jsp, 第 34 行
...全文
105 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
likwxd 2006-10-24
  • 打赏
  • 举报
回复
数据删除时就出错
怎么回师??
dashi 2006-10-24
  • 打赏
  • 举报
回复
我顶你个肺~

2,100

社区成员

发帖
与我相关
我的任务
社区描述
Web 开发 非技术区
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧