%
id = Request("id")
newpassword = Request("password")
newpasswordtemp = Request("passwordtemp")
If newpassword > newpasswordtemp Then
Response.Write "center>對不起,新密碼與新密碼確認(rèn)不同.請重試!/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]
標(biāo)簽:威海 襄陽 朔州 遵義 柳州 邯鄲 雞西 中山
巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《如何在線更改密碼?》,本文關(guān)鍵詞 如何,在線,更改,密碼,如何,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。上一篇:如何讓用戶也能修改密碼?
下一篇:如何在ASP里建立表格?