如题所述
update
用户表
set
密码=新密码
where
用户名=用户名
即:
rs.open
"update
用户表
set
密码='"
&
txtpwd.text
&
"'
where
用户名='"
&
txtuser.text
&
"'"
其中:txtpwd为你的密码文本框,txtuser为你的用户名文本框,如果需要对密码加密,txtpwd.text修改为加密后的字符串。
用户表
set
密码=新密码
where
用户名=用户名
即:
rs.open
"update
用户表
set
密码='"
&
txtpwd.text
&
"'
where
用户名='"
&
txtuser.text
&
"'"
其中:txtpwd为你的密码文本框,txtuser为你的用户名文本框,如果需要对密码加密,txtpwd.text修改为加密后的字符串。
温馨提示:答案为网友推荐,仅供参考