예제 #1
0
 protected void BtnSubmit_Click(object sender, EventArgs e)
 {
     if (this.IsValid)
     {
         B_User bll = new B_User();
         int UserID = DataConverter.CLng(this.HdnUserID.Value);
         M_UserInfo info = bll.SeachByID(UserID);
         info.UserPwd = StringHelper.MD5(this.TxtPassword.Text.Trim());
         bll.UpDateUser(info);
         function.WriteSuccessMsg("修改密码成功!", "../User/UserManage.aspx");
     }
 }