DataGridViewComboBoxColumn
Hey,
I want to have a combobox in a datagridview for my one field, which has a name and ID value; so the combo box will have the name as the display member from the datasource and the ID as the value member.
So I have a combo box bound to a binding source, which has a display member of Name field, ID as value field; now the overall datagridview data source I want to select the value in the field, so the combo box has:
1 Brian
2 Dave
3 Ted
And because the datasource for the datagridview has a value of Dave, select Dave in the combobox.
How do I do that?
Thanks.
Brian
__________________
Brian
|