Databinding a control vb.net to a combobox

Here is a simple example:

yourComboBox.DataSource=yourDataSet.Tables("Ctype")
yourComboBox.DisplayMember="Ctype"
yourComboBox.ValueMember="ID"

then to retrieve the user selection:

int nID=yourComboBox.SelectedValue