HI,
I have code like this,
ComboBox1.SelectedIndex = 0
and I am getting error below
Value of '0' is not valid for 'SelectedIndex'
How do I set the default value of combobox? (first item in the list)
Can I use the code below? what happnes if combobox doesn't have any values?
ComboBox1.SelectedIndex = ComboBox1.Items.Item(0).ToString
Thanks