Hi All
I am getting below error when I try to bind data to DataGrid
"object cannot be cast from dbnull to other type".
One important thing is that when i run this code in my local system it is working fine. after deployement , for first 2,3 times it is working fine but later only iam getting this error from server
I don't know why it is happening like this
And recently I added
ICSharpCode.SharpZipLib.dll
and
Microsoft.Office.Interop.Excel.dll
to solution.
Are these DLLs reason for error? Any relation?
Please help me out.