很简单的个问题,请来看看代码
set cnn= server.createObject("ADODB.Connection") cnn.open "Provider=Microsoft.JET.OLEDB.4.0; DATA SOURCE= " & Server.mapPath("bingxue.mdb") set rs = server.createobject("ADODB.Recordset") sql = "update customers set psd = '"& psd &"' where realname = '"& realname &"' " rs.open sql ,cnn if rs.EOF then ''''''''''' 该句错误 response.redirect "url" else response.write "index.asp" end if set rs = nothing set cnn = nothing
错误类型: ADODB.Recordset (0x800A0E78) 对象关闭时,不允许操作。
那里错了呢???