This seems like it should be fairly simple, but it has me stumped.
I have a combobox that is bound to a dictionary. I also have a datagridview that is supposed to populate the combobox when a row is selected. The gridview displays the key which is numeric and I want the combobox to display the value which is text. I thought this would work:
It doesn't. I also thought maybe I needed to set the value member to the new key, but that deleted everything in the combobox.
I have a combobox that is bound to a dictionary. I also have a datagridview that is supposed to populate the combobox when a row is selected. The gridview displays the key which is numeric and I want the combobox to display the value which is text. I thought this would work:
Code:
cboSourceID.SelectedItem = dgvInfoware.Item(3, rowIndex).Value
Comment