I have a grid bound to a BindingSource of my own business objects. The column in question is bound to a Nullable<double> property of the business object, and when I clear out the text in the cell, the grid is presenting me with a message box saying it cannot convert DBNull to Nullable<double>.
The datatype of the bound column appears to be string.
How can I clear out the text in this cell correctly?
Try setting column.Nullable to Nullable.Nothing