<%xml:namespace prefix = o ns = “urn:schemas-microsoft-com:office:office” /??
id = Request(“id”)
newpassword = Request(“password”)
newpasswordtemp = Request(“passwordtemp”)
ÃÂ
If newpassword <> newpasswordtemp Then
Response.Write “<center>对ä¸Âèµ·,æ°å¯Âç Âä¸Âæ°å¯Âç Â确认ä¸ÂÃ¥ÂÂ.请éÂÂè¯Â!</center>”
Response.End
End If
Set conn = Server.CreateObject(“ADODB.Connection”)
DBPath = Server.MapPath(“userinfo.mdb”)
conn.Open “driver={Microsoft Access Driver (*.mdb)};dbq=” & DBPath
Set rs = Server.CreateObject(“ADODB.Recordset”)
sql=”update userinfo set å¯Âç Â='” & newpassword & “‘ where id=”&id
rs.Open sql, conn, adOpenDynamic, adLockPessimistic
%>
[1]