So you have an ID field, and in the background you have a list with all the
items, and want to show the value that goes with the ID?
You could use a DataGridViewComboBoxColumn and bind it.
You could also use the Format and Parse events on the cells of the
datagridview. Check the column index, and if it's the right column, in the
Format event you would get the description and show it in the grid; in the
Parse event you would take the description and get the corresponding ID.
There's a great example of this in Brian Noyes's Data Binding Book.
RobinS.
---------------------------------------------
> Hi guys,
> I have a DataGridView binded to DataTable.
[quoted text clipped - 6 lines]
> Thanks a lot
> Aleksey