I am adding column columnX (double) value to datatable it has the value=null, so I am getting the exception, I have tried (double?) but after checking the value I am able to add (double) value to double column. How to resolve the issue?
I am adding column columnX (double) value to datatable it has the value=null ,
Share
you can check if result is “DbNull” or DBNull nor sure on capitalisation
ie: