Пример #1
0
    private void populateDropdown()
    {
        var planetTypeDataAccess = new PlanetTypesDataAccess(CONSTANTS.GetConnection());
        var planetTypes          = planetTypeDataAccess.GetPlanetTypeNames();

        planetDropDown.AddOptions(planetTypes);
    }