800a0e78是什么东西啊

jsidiot 2001-08-08 06:44:36
set rs=server.createobject("adodb.recordset")
sql="select programname from program_list order by id DESC"
'rs.cursorlocation=aduserserver
rs.open sql,conn,1,3
'rs.CursorLocation=adUseClient
recordcount=rs.recordcount
response.write recordcount
for i=1 to recordcount


while not rs.EOF
最后一行出错
...全文
92 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
jsidiot 2001-08-08
  • 打赏
  • 举报
回复
xiexie
sdly 2001-08-08
  • 打赏
  • 举报
回复
rs对象已关闭,不能再用!!
jsidiot 2001-08-08
  • 打赏
  • 举报
回复
for i=1 to recordcount

while not rs.EOF
TrString="<tr><td width=100% > <a href=ReadNews.asp?programname=" & rs("programname") & " target=_blank>◎" & trim(rs("programname")) & "</a></td</tr>"
Response.Write trstring
rs.MoveNext
wend
rs.close
是啊
下面是这样的
tripofdream 2001-08-08
  • 打赏
  • 举报
回复
你是不是已经在for 循环后用了rs.close ?
jsidiot 2001-08-08
  • 打赏
  • 举报
回复
ADODB.Recordset 错误 '800a0e78'
Operation is not allowed when the object is closed.

应该是这个
你会解答吗?
freesmile 2001-08-08
  • 打赏
  • 举报
回复
ADODB.Recordset error '800a0e78'
The operation requested by the application is not allowed if the object is closed.

28,391

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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