private void LoadCategory() { DataTable dtCategory = DataAccess.GetData("Select * from Category"); UIUtilities.FillListControl(cmbGenre, "CategoryName", "CategoryId", dtCategory, true); }
private void LoadSwitchGames() { DataTable dtGames = DataAccess.GetData("Select GameName, GameId from Games"); UIUtilities.FillListControl(cmbSwitch, "GameName", "GameId", dtGames, true, "--- Please select a game to switch ---"); }
private void LoadGenre() { DataTable dtGenre = DataAccess.GetData("Select * from Category"); UIUtilities.FillListControl(cmbGenre, "CategoryName", "CategoryId", dtGenre, true, "--- Please select a genre ---"); }