Microsoft VBScript 编译器错误 (0x800A03F9)的问题,请高手指教

huli1516 2011-04-20 10:07:38
请教高手,急。非常感激大家来看看。
if recv_RS.EOF=0 and recv_RS("jiguo") = "" and session["yonghu"] = banliren(UBound-1) and UBound(banliren)-LBound(banliren) <>1 then
response.write "<li>"
end if
-----------------------------------------------

错误类型:
Microsoft VBScript 编译器错误 (0x800A03F9)
缺少 'Then'
/testweb/yjcon.asp, line 57, column 28
if recv_RS.EOF=0 and session["yonghu"] = banliren(UBound-1) and UBound(banliren)-LBound(banliren) <>1 then
---------------------------^
请求高手指教,非常感谢
...全文
131 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
huli1516 2011-04-20
  • 打赏
  • 举报
回复
非常感谢,UBound错误了。
我改成了:if ((recv_RS("jiguo") = "") and (session("yonghu") = banliren(ubound(banliren))) and (ubound(banliren)-LBound(banliren) <>1)) then
通过。
toury 2011-04-20
  • 打赏
  • 举报
回复
if recv_RS.EOF=0 and recv_RS("jiguo") = "" and session["yonghu"] = banliren(UBound-1) and UBound(banliren)-LBound(banliren) <>1 then

检查红字
hongmei85 2011-04-20
  • 打赏
  • 举报
回复
试下
if recv_RS.EOF=0 and session("yonghu") = banliren(UBound-1) and UBound(banliren)-LBound(banliren) <>1 then

28,391

社区成员

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

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