How to set a DataGridViewComboBoxCell display value
Hi there
I need to know how to set the display value of each DataGridViewComboBoxCell in a DataGridViewComboBoxColumn on the fly where the values may be all different. I am using a dataset as the data source for my DataGridViewComboBoxColumn .
The only reference I can find to this anywhere is how to set one display value for the whole column ie.
Dim objComboCol as DataGridViewComboBoxColumn
objComboCol.DefaultCellStyle.NullValue = "My Display Value".
However I need to be able to set each value individually on the fly.
I am programming in VB.NET using Visual Studio 2005.
Any help would be much appreciated.
Andy