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

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

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