ProjectExplorer
Programmer
I want to load a Combo Box with a simple list of Countries from a table using the add method.
When I load the Countries I also need to add the Countries unique table ID so I can retrieve the users selection by the ID not the Country Name.
i.e if "Germany" had an unique table ID of "17", I need to be able to get "17" as the selection.
How do I load the combo box with both values so I can retrieve the Conutry ID rather than than the Country Name.
I have been used to doing this with Access VBA but cant see how it's done with VB.net. (I'm obviously buying the wrong books!)
Many thanks.
When I load the Countries I also need to add the Countries unique table ID so I can retrieve the users selection by the ID not the Country Name.
i.e if "Germany" had an unique table ID of "17", I need to be able to get "17" as the selection.
How do I load the combo box with both values so I can retrieve the Conutry ID rather than than the Country Name.
I have been used to doing this with Access VBA but cant see how it's done with VB.net. (I'm obviously buying the wrong books!)
Many thanks.