HI,
Its simple buddy
Let's say, you have a combo box "ComboCustomerGroup"
dim CustGroupDT as DataTable=GetCustomerGroupNameAndCode()
Me.ComboCustomerGroup.DataSource=CustGroupDT
Me.ComboCustomerGroup.DisplayMember="Name"
Me.ComboCustomerGroup.ValueMember="Code"
and when you save the data to your table(Customer Table), use
CustomerGroupCode=Me.ComboCustomerGroup.SelectedValue
This will give you the "Code" corresponding to the "Name" of the selected item of your combobox
Hope it works for you
Have a nice code day!!