Having trouble getting help?
Contact Support
Contact Support
Data Settings in Windows Forms ComboBoxAdv(Classic)
27 Apr 20211 minute to read
Data for the ComboBoxAdv is added through String Collection Editor, invoked through the ComboBoxAdv.Items property.
//Adding data to ComboBoxAdv
this.comboBoxAdv1.Items.AddRange(new object[] { "Currency", "DateTimePicker", "ComboBoxAdv", "AutoComplete", "ListBox", "ContextMenu", "CurrencyEdit" });
'Adding data to ComboBoxAdv
Me.comboBoxAdv1.Items.AddRange(New Object() {"Currency", "DateTimePicker", "ComboBoxAdv", "AutoComplete", "ListBox", "ContextMenu", _
"CurrencyEdit"})
NOTE
ComboBoxAdv can also be bound to an external Data source like Data Table.
Refer Data binding topic To set image for dropdown items refer Image settings