private void Save() { string InputPwd = EncryptionManager.EncrytPassword(this.tbxNewPassword.Text.Trim().ToString()); bo = new BusinessMapping.User(); bo.SessionInstance = new Wicresoft.Session.Session(); filter = new BusinessFilter("User"); filter.AddFilterItem("PKID", userid, Operation.Equal, FilterType.NumberType, AndOr.AND); bo.AddFilter(filter); bo.Load(); if (bo.HaveRecord) { bo.Password.Value = InputPwd; // 2006-11-20, Tony bo.LastModifyPasswordTime.Value = DateTime.Now; bo.Update(); GlobalFacade.Utils.ShowMessageUrl("提示:您的密码已经成功更新...", "UserList.aspx"); } }