How to fill combobox with Listbox items

PRAISE PHS

Well-known member
Joined
Jun 2, 2011
Messages
58
Programming Experience
Beginner
Hi ALL,
Pls, I have a listbox that is filled with items. How do I populate a combo box with all the items in the List box. Pls kindly help.
 
This is one option:
myComboBox.Items.AddRange(myListBox.Items.Cast(Of Object)().ToArray())
 
Back
Top