protected void GetUserList(string roleName) { List <MembershipUser> usrs = SecurityData.GetUsersInRole(roleName); GeneralUtilities.BindDataBoundControl(gvUsers, usrs); if (usrs.Count < 1) { btnRemove.Visible = false; } }
protected void GetUserList(string roleName) { List <MembershipUser> usrs = SecurityData.GetUsersInRole(roleName); GeneralUtilities.BindDataBoundControl(gvUsers, usrs); if (usrs.Count < 1) { btnRemove.Visible = false; } }