This problem was kicking my butt for quite a few hours (in between getting side-tracked by other problems at work).
The line of code which caused the problem was in the Grid.InitializeRow method and looked like this:
Dim MyDecimalValue as Decimal = e.row.cells("AnyDoubleField").Value
Earlier in the day I had changed all of my unbound columns from string to decimal.
One of my unbound fields was populated with a string value. It had nothing to do with the line shown.
I changed the one field which was being populated with a string value to a string datatype and this problem went away.
Hello,
Thank you for the provided information. We believe that the other community members could benefit from this thread.
Please do not hesitate to ask if something comes up.