请教高手,如何判断 (记录集)recordset 是否处于打开状态?

shubo2000 2003-10-20 07:17:59
Set Rs = Server.CreateObject("ADODB.Recordset")


function End_str(str)
if _______then rs.close '请填空,谢谢
Set Rs = Nothing
Call EndConn()
response.write str
response.end
end function
...全文
54 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
shubo2000 2003-10-21
  • 打赏
  • 举报
回复
谢!接
hjbwt 2003-10-21
  • 打赏
  • 举报
回复
function End_str(str)
if RS.state=1 then rs.close '请填空,谢谢
Set Rs = Nothing
Call EndConn()
response.write str
response.end
end function
onebody 2003-10-21
  • 打赏
  • 举报
回复
Rs.bof or Rs.eof
mofan4862 2003-10-21
  • 打赏
  • 举报
回复
function End_str(str)
if RS.state_______then rs.close '请填空,谢谢
Set Rs = Nothing
Call EndConn()
response.write str
response.end
end function
mjwgtm 2003-10-21
  • 打赏
  • 举报
回复
not bof and not eof

28,390

社区成员

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

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