So I have this:
private void GetSuppliersList()
{
ds = oDAL.GetSuppliersList();
cmbSupplier.DataSource = ds.Tables["SuppliersHeader"];
cmbSupplier.DisplayMember = "SupplierName";
cmbSupplier.ValueMember = "SupplierID";
}
And I need to display SupplierAddress from my SQL database into a textbox so I thought I might need to get the ID (Supplier ID) of the SelectedValue (Supplier Name) from my combobox to get its SupplierAddress and display it at the event of SelectedIndexChanged. Thanks in advance!