private void DisplayHandicappedSkins() { int selectedEventID = int.Parse(Dropdown_LeagueEvent.SelectedValue); if (selectedEventID != 0) { Dictionary <int, List <byte> > scores = DatabaseFunctions.GetScores(selectedEventID); Dictionary <int, int> handicaps = Scoring.GetPlayerHandicapsForEvent(leagueID, selectedEventID, scores.Keys.ToList()); Table_SkinsResults.Width = 800; Table_SkinsResults.Rows.Clear(); var courseInfo = DatabaseFunctions.GetCourseInfo(selectedEventID); AddCourseInfoRowsSkinsTable(Table_SkinsResults, courseInfo); Scoring.ApplyHandicapsToScoresForHandicappedSkins(scores, handicaps, courseInfo); List <int> skins = Scoring.calculateSkins(scores); //reset skins dropdown DropdownList_SkinsPlayers.Items.Clear(); ListItem initialItem = new ListItem("Select Golfers(s) to Exclude From Skins", "0"); DropdownList_SkinsPlayers.Items.Add(initialItem); foreach (int GolferID in scores.Keys) { ListItem item = new ListItem(DatabaseFunctions.GetGolferName(GolferID), GolferID.ToString()); DropdownList_SkinsPlayers.Items.Add(item); AddTableRow(Table_SkinsResults, GolferID, scores[GolferID], skins); } } }