public void fillManagerGrid()
        {
            pnlGridViewManagers.Visible = true;
            List <GroupMemberState> groupManagerState = new List <GroupMemberState>();

            Edit.Utilities.DataIO data   = new Edit.Utilities.DataIO();
            SqlDataReader         reader = data.GetGroupManagers(SubjectID);

            while (reader.Read())
            {
                //public Group(string GroupName, int ViewSecurityGroup, string ViewSecurityGroupName, string EndDate, string GroupID, string GroupNodeID)
                groupManagerState.Add(new GroupMemberState(reader.GetInt32(reader.GetOrdinal("UserID")), "", "",
                                                           reader["DisplayName"].ToString(), reader["Institution"].ToString()));
            }
            reader.Close();

            if (groupManagerState.Count > 0)
            {
                GridViewManagers.DataSource = groupManagerState;
                GridViewManagers.DataBind();
            }
            else
            {
                lblNoManagers.Visible    = true;
                GridViewManagers.Visible = false;
            }
        }
        protected void GridViewManagers_RowDeleting(object sender, GridViewDeleteEventArgs e)
        {
            Edit.Utilities.DataIO data = new Edit.Utilities.DataIO();
            int userID = Convert.ToInt32(GridViewManagers.DataKeys[e.RowIndex].Values[0].ToString());

            data.DeleteGroupManager(userID, Subject);
            GridViewManagers.DataBind();
            fillManagerGrid();
        }