I'm really getting frustrated with programming. I have several ComboBox controls that are bound to a DataTable, each with DisplayMember/ValueMember.
When in edit mode, the user selects a record and all the ComboBoxes get populate by changing the SelectedIndex property. For the very first time a user does this, it works fine, however, when selecting different records and doing the same process, the "Text" doesn't change in the CB even though the SelectedIndex does.
Prior to selecting a new record to edit, I execute a procedure that sets ComboBox.SelectedIndex = -1.
The below code is how I retrieve a value from the ComboBox List. The row.Cells(3).Value comes from a DataGridView.
idx = cmbManufacturer.FindString(row.Cells(3).Value)
cmbManufacturer.SelectedIndex = idx