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
140
How to Disable DataError
posted

Hi,

I using xamDatGrid , While editing certain entry if i delete contents in string value type  field , it throws bellow exception.

Object of type 'System.DBNull' cannot be converted to type 'System.String'.

As i am doing my validation separately on my DataContract level, Could you please suggest any solution to suppress this error and proceed with default values of field.

 Please its urgent.

Parents Reply Children