rfresh
Active member
- Joined
- Aug 23, 2012
- Messages
- 26
- Programming Experience
- 1-3
This is pretty simple c# code below.
Why does .SelectedIndex result in -1? I was expecting the value to be 2.
Why does .SelectedIndex result in -1? I was expecting the value to be 2.
C#:
comboBoxLSK.Items.Add("test1");
comboBoxLSK.Items.Add("test2");
comboBoxLSK.Items.Add("test3");
comboBoxLSK.SelectedIndex = comboBoxLSK.FindStringExact("test3");