I always used Delphi and there was a component called DBLookupcombobox
where it was possible to list the data of a table and use the ID field of this referenced saving in the main table, for example:
In an Employee registry I have the ID_Cidade
that is FK of the Cidade
table, with DBLookupcombobox
I showed the city name and in the component properties I could save the ID_cidade
in the Funcionário
table, does the Combobox do this in C #?
Configuring it by properties ?