Response 对象,不允许操作

shwns 2006-10-01 09:23:48
<!-- #include file="conn.asp" -->
<p><a href="say.asp">发表帖子</a> </p>
<% set showbbs=conn.execute("select * from bbs order by id desc") %>
<table width="399" border="1">
<tr>
<th width="84">作者</td>
<th width="289">主题</td>
</tr>
<% while not showbbs.eof %>
<tr>
<td width="84"><% =showbbs("name") %></td>
<td width="289"><a href="show.asp?id=<% =showbbs("id") %>"><% =showbbs("title") %></a></td>
</tr>
showbbs.movenext
<% wend
showbbs.close
set showbbs=nothing
%>
</table>
运行上面代码后,出现以下错误:
技术信息(用于支持人员)

错误类型:
Response 对象, ASP 0104 (0x80070057)
不允许操作
/test/index.asp


浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

网页:
GET /test/index.asp

时间:
2006年10月1日, 上午 09:05:23


详细信息:
Microsoft 支持
请高手们帮帮小弟我。
小弟在此感激不尽。
...全文
225 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
pdgzzgx 2006-10-01
  • 打赏
  • 举报
回复
qlc263() ( )
正解
qlc263 2006-10-01
  • 打赏
  • 举报
回复
showbbs.movenext
<% wend
showbbs.close
set showbbs=nothing
%>

你写错了。。应该这样

<% showbbs.movenext
wend
showbbs.close
set showbbs=nothing
%>
keenx 2006-10-01
  • 打赏
  • 举报
回复
<% =showbbs("id") %>
=前有空格
shwns 2006-10-01
  • 打赏
  • 举报
回复
这个我知道了。

28,390

社区成员

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

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