I have a data entry form that had several comboboxes on it. Each of the combo boxes has its own binding source and it is populating correctly when I launch the form. Howev
ComboBox has to have DataSource. Link data though ComboBox1.DataSource
Maybe, you just need to use the SelectedItem, instead!
Are you using a DropDownStyle
of DropDown
and typing into the ComboBox? If so, that will cause SelectedValue
to be null, I'm assuming because the value entered is no longer one of the items in the ComboBox
.
If this is the case, set the DropDownStyle
to DropDownList
, assuming the user has to pick an existing value.