private void GetKids(int coachId) { var rep = new PlayerRepository(new CSBCDbContext()); var players = rep.GetCoachPlayers(Master.SeasonId, coachId); //var oPlayers = new CSBC.Components.Season.ClsPlayers(); //DataTable rsData = default(DataTable); try { grdKids.Columns.Clear(); var _with3 = grdKids; _with3.DataSource = players; _with3.DataBind(); } catch (Exception ex) { lblError.Text = "getKids::" + ex.Message; } }