protected void btnUpdate_Click(object sender, EventArgs e) { AccountsProtect protect = new AccountsProtect(); protect.UserID = Fetch.GetUserCookie().UserID; protect.InsurePass = TextEncrypt.EncryptPassword(CtrlHelper.GetText(txtNewPass)); protect.Response1 = CtrlHelper.GetText(txtResponse1); protect.Response2 = CtrlHelper.GetText(txtResponse2); protect.Response3 = CtrlHelper.GetText(txtResponse3); protect.LastLogonIP = GameRequest.GetUserIP(); Message umsg = accountsFacade.ResetInsurePasswd(protect); if (umsg.Success) { this.form1.Visible = false; this.divRight.Visible = true; this.divRight.InnerHtml = "<div class=\"Uright\">重置银行密码成功!</div>"; } else { Show(umsg.Content); this.txtResponse1.Text = ""; this.txtResponse2.Text = ""; this.txtResponse3.Text = ""; } }