Dear Sir, Madam,
When a cell is empty (cell.Type == IsNull), and I call cell.PutValue(DateTime.Now) I would expect the cell.Type to become IsDateTime, instead the cell.Type becomes numeric. And cell.Value.GetType() returns System.Double. So my DateTime gets actively converted by Aspose.Cells to Double and I don't understand why.
How can I make Aspose.Cells set the cell.Type to IsDateTime?
Immediate window dump:_cell.Type
IsNull
_cell.PutValue(DateTime.Now)
Expression has been evaluated and has no value
_cell.Type
IsNumeric
_cell.Value.GetType().FullName
"System.Double"
Kind regards,
Jorre Meijrink
This message was posted using Aspose.Live 2 Forum