Data Bound ComboBox
I have bound my ComboBox to a DataSet. It always shows the first item from the drop down list. how can i make it look for a particular string in the list and show it in the text area. I tried the following code, but it doesn't work.
cboEmploymentStatus.SelectedIndex = cboEmploymentStatus.Items.IndexOf("N.A.")
PB
|