public static UpdateUser ( CloneDeployUser user ) : |
||
user | CloneDeployUser | |
return |
protected void btnModify_Click(object sender, EventArgs e) { if (user.CheckPwd(int.Parse(Session["UID"].ToString()), txtOldPwd.Text)) { if (user.UpdateUser(int.Parse(Session["UID"].ToString()), txtConfirm.Text.ToLower()) > 0) { lbMessage.Text = "修改成功!"; } else { lbMessage.Text = "修改失败!"; } } }