Friday, December 16, 2011

Sri Guru Gauranga Jayate

DataGridView CellFormatting event is funny. As per the MSDN, the ConvertEventArgs argument has a property 'Value' that holds the unformatted value and must be set to the formatted (converted) value inside the event handler. But for DataGridViewCheckBoxColumn, this property had a fixed (constant) value irrespective of the underlying value of the DataGridView cell.

Om namo shridharaya

No comments:

Post a Comment