예제 #1
0
        public bool UpdateUserInfo()
        {
            Mubea_BTDataSet.UserInfoRow row = UserInfoQueryBLL.UserInfoTable.FindByNameId(UserID);

            if (row != null)
            {
                row.UserName = this.UserName;
                row.Password = this.Password;
                row.Role     = this.Role;

                return(UserInfoQueryBLL.UpdateUserInfo(row));
            }

            return(false);
        }
예제 #2
0
 public static bool UpdateUserInfo(Mubea_BTDataSet.UserInfoRow row)
 {
     return(_UserInfoTableAdapter.Update(row) > 0);
 }