I’m Using Visual Basic 2010, and what i want know is how i can create different list on a single ComboBox…
practically i’ve 2 ComboBox… the first with a list of Items inside.. and i want to create a second ComboBox With Different types of list based on the choice of the first ComboBox..
Ex: First Combobox with all the continents and the secondo ComboBox With all the Nations, i want that the Nations list of the Second ComboBox change according to the Country selected from the list of the first ComboBox…
Here are two classes that represents country and continent :
Now add two
ComboBoxsto a form named cmbContinent and cmbCountry, then add the following code to your form :