Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1705
Error editing data in grid: DBNull cannot be converted to...
posted

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?

Parents
No Data
Reply Children
No Data