ADODB.Recordset 错误 '800a0e78' 对象关闭时,不允许操作。 /admin/edit_xk_db.asp,行 34
classid=request.Form("classid")sql="select*fromquestionwhereid="&idsetrs=server.Creat...
classid=request.Form("classid")
sql="select * from question where id = "&id
set rs=server.CreateObject("adodb.recordset")
rs.open sql,connbbs,1,3
rs("tigan")=tigan
rs("selecta")=selecta
rs("selectb")=selectb
rs("answer")=answer
rs.update
rs.close
set rs=nothing
delsql = "TRUNCATE TABLE xz"&classid
set rs2 = Server.CreateObject( "ADODB.Recordset" )
connbbs.execute delsql *第34行
rs2.close
set rs2 = nothing
为什么总是提示这个,怎么解决? 展开
sql="select * from question where id = "&id
set rs=server.CreateObject("adodb.recordset")
rs.open sql,connbbs,1,3
rs("tigan")=tigan
rs("selecta")=selecta
rs("selectb")=selectb
rs("answer")=answer
rs.update
rs.close
set rs=nothing
delsql = "TRUNCATE TABLE xz"&classid
set rs2 = Server.CreateObject( "ADODB.Recordset" )
connbbs.execute delsql *第34行
rs2.close
set rs2 = nothing
为什么总是提示这个,怎么解决? 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询