In a contacts app I have a company combobox setup like this:

DataSource = ds.Company
DisplayMember = "CompanyName"
ValueMember = "CompanyID"

The SelectedValue property is bound to the Contact table Company field.

companyComboBox.DataBindings.Add(
"SelectedValue", contactBindingSource, "Company");

The problem is the CompanyID is not being set in the Contact table's
Company column.

Company.CompanyID and Contact.Company are both type int

I've check it over several times... I'm not seeing what I'm doing wrong.