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
100
Copy/Paste with Nullable Decimal
posted

When I have a grid bound to a datasource which contains nullable decimals and I attempt to use the Copy/Paste actions for the grid, I receive the following error:

 "Error performing paste operation. Further Information: Unable to convert the value '997.000' to the column's data type: Illegal data value"

After selecting "OK" i receive another error:

"Error performing Paste operation. Further information: Object of type 'System.DBNull' cannot be converted to type 'System.Nullable`1[System.Decimal]'."

 

I believe this is a bug, unless I am missing a setting.

I am not using the nullable decimal anymore and its workign fine, but I figured I would still inform you of the issue I was having. I am not sure as to why its reciving a System.DBNull type? Whatever, this problem isnt of high priority but it might be to someone else (assuming its not something im doing wrong)