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); }
public static bool UpdateUserInfo(Mubea_BTDataSet.UserInfoRow row) { return(_UserInfoTableAdapter.Update(row) > 0); }