www.gusucode.com > ASP+ACCESS学生成绩查询系统毕业设计(源代码+论文+开题报告) > ASP+ACCESS学生成绩查询系统毕业设计(源代码+论文+开题报告)\score\score\changepwd.asp

    <%
if request("mm")="" then
	response.write "<script language=JavaScript>" & chr(13) & "alert('密码不能为空!~');" & "history.back()" & "</script>" 
	Response.End
end if
mm=request("mm")
xh=request("xh")
set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)}; dbq="&server.mappath("class_cj.mdb")
set rs=server.createobject("adodb.recordset")
sql="update user set mm='"&mm&"' where xh="&xh
rs.open sql,conn,adopendynamic,adlockpessimistic
%>