private void LoadCategory()
        {
            DataTable dtCategory = DataAccess.GetData("Select * from Category");

            UIUtilities.FillListControl(cmbGenre, "CategoryName", "CategoryId", dtCategory, true);
        }
Exemple #2
0
        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 ---");
        }
Exemple #3
0
        private void LoadGenre()
        {
            DataTable dtGenre = DataAccess.GetData("Select * from Category");

            UIUtilities.FillListControl(cmbGenre, "CategoryName", "CategoryId", dtGenre, true, "--- Please select a genre ---");
        }