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
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