Hi,
I want to have multiple combo boxes on a form all using the same data list. Obviously I don't want to type the information in for every combo box.
What is the best way to do this.
Printable View
Hi,
I want to have multiple combo boxes on a form all using the same data list. Obviously I don't want to type the information in for every combo box.
What is the best way to do this.
Put the data in an array or collection and assign that to the DataSource of each ComboBox. If you want to be able to change the items for individual ComboBoxes then instead of assigning the array to the DataSource you can pass it to Items.AddRange.