Open GoogleCodeExporter opened 8 years ago
Where I can found latest dll with the fix of this issue ?
Original comment by deepjyot...@gmail.com
on 12 Jul 2012 at 2:26
The private static CellValue EncodeCell(Cell cell, SharedResource
sharedResource) function in worksheetencoder.cs file did not provide a solution
to handle dbNull value when importing from datagridview controls or datatables.
I added the following snippet to write out a "no value" string to the cell when
dbnull is encountered.
// ADDED: to fix dbnull reference.
else if (value is System.DBNull)
{
LABELSST label = new LABELSST();
label.SSTIndex = sharedResource.GetSSTIndex("NO VALUE");
return label;
}
// not the best solution but it worked in my situation.
Original comment by phil.s.c...@gmail.com
on 9 Jun 2013 at 5:18
Original issue reported on code.google.com by
halliday...@gmail.com
on 17 Aug 2010 at 12:05