Cell PutValue changes the Cell "Type" member?


#1

Could you please assist with this problem that I am having with Aspose .NET 3.6.1? Thanks.

I set a breakpoint on asposeCell.PutValue(dateTime) (see code snippet, below)

Before the call executes, the debugger says that the “Type” member of asposeCell is “IsDateTime”. That’s correct. And on inspecting the content of the dateTime variable, that looks fine, too.

But after the call executes, the debugger says that the “Type” member of asposeCell is “IsNumeric” !

public void PutValue(DateTime dateTime)
{
asposeCell.PutValue(dateTime); // asposeCell is an Aspose.Excel.Cell instance
}


#2

Please try this attached fix.