if not (rs.bof and rs.eof) then 语句未结束

来源:百度知道 编辑:UC知道 时间:2024/06/14 10:06:26
Microsoft VBScript 编译器错误 错误 '800a0401'

语句未结束

/admin/admin_user.asp,行 66

if not (rs.bof and rs.eof) then

还差什么语句

这个要看整体了
是不是没有END if
你按我这个模式去写下看

sql="查询语句"
set rs=conn.execute(sql)
if not rs.eof then

end if
set rs=nothing

应该是很简单的东西啊,多看看网上的文章吧。
http://www.epar.com.cn