修改问题!修改后数据后台没有变化
<%lid=request("id")
set rsU=server.createobject("adodb.recordset")
sqltext="select * from [user] where id=cint('"&lid&"')"
rsU.open sqltext,conn,1,1
If request("action")="确认修改" then
set rsU=server.createobject("adodb.recordset")
rsU.open conn,1,3
rsU("user_name")=request.form("user_name")
rsU("time")=request.form("time")
rsU("stage")=request.form("stage")
rsU("type")=request.form("type")
rsU("source")=request.form("source")
rsU("contactor")=request.form("contactor")
rsU("telephone")=request.form("telephone")
rsU("address")=request.form("address")
rsU("email")=request.form("email")
rsU("network")=request.form("network")
rsU.update
rsU.close
response.write "<script language=JavaScript>{window.alert('修改信息成功!');opener.parent.right.location.href='UserInfo.asp';window.close();}</script>"
response.end
End If
%>
按确定后数据还是没有变化,虽然显示修改信息成功,但是根本没有变化,请各位老师帮看看,我已经卡在这里很久了~~~~~~~