I use combobox in c# windows form. I bound the item list as below:
var employmentStatus = new BindingList>();
emplo
I suspect something is not right when you are saving to the db. Do i understand your steps as:
got more code, especially when saving? where in your code are initializing and populating the bindinglist
In windows Appliation we use like this
DDLChangeImpact.SelectedIndex = DDLChangeImpact.FindStringExact(ds.Tables[0].Rows[0]["tmchgimp"].ToString());
DDLRequestType.SelectedIndex = DDLRequestType.FindStringExact(ds.Tables[0].Rows[0]["rmtype"].ToString());
Try this:
KeyValuePair<string, string> pair = (KeyValuePair<string,string>)this.ComboBox.SelectedItem;
try this
combobox.SelectedIndex = BindingSource.Item(9) where "9 = colum name 9 from table"
To set value in the ComboBox
cmbEmployeeStatus.Text="Something";
cmbEmployeeStatus.Text = "text"