I have a datagridview containing a datagridviewcombobox.
The combobox has a dataset containing city_name and city_id.
When I select a new city_name in the combobox I would like to return the city_id corresponding to that city_name.
The combobox has a dataset containing city_name and city_id.
When I select a new city_name in the combobox I would like to return the city_id corresponding to that city_name.