VS2010, NPOI 2.0.6.0 [stable]
There are four overload methods for setting data in a cell.
void SetCellValue(bool value);
void SetCellValue(DateTime value);
void SetCellValue(double value);
void SetCellValue(IRichTextString value);
void SetCellValue(string value);
When We set SetCellValue(1); // Numeric value it coming exactly as 1
When We set SetCellValue("1"); // Numeric value but set as string it coming '1 //Error: Notice the leading single quote.
Any way to get rid of that ?
Thanks in Advance.
There are four overload methods for setting data in a cell.
void SetCellValue(bool value);
void SetCellValue(DateTime value);
void SetCellValue(double value);
void SetCellValue(IRichTextString value);
void SetCellValue(string value);
When We set SetCellValue(1); // Numeric value it coming exactly as 1
When We set SetCellValue("1"); // Numeric value but set as string it coming '1 //Error: Notice the leading single quote.
Any way to get rid of that ?
Thanks in Advance.