We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com


Upgrade to latest version, while modifying one of the obsolete methods I am came across one scenario where I am unable exactly find equivalent property for convertStringToNumber parameter (from below obsolete method) in ImportTableOptions class. Can you help me in getting it from Aspose team whenever its possible. I see one property ConvertNumericData in ImportTableOptions class but I am not sure if this suffices the same.


Your understanding is correct.
You may set ImportTableOptions.ConvertNumericData = true to achieve this functionality which indicates whether the string value should be converted to numeric or date value. Give it a try to the following sample code and share the feedback.

var workbook = new Workbook();
var worksheet= workbook.Worksheets.Add("Data");
worksheet.Cells.ImportData(data, 0, 0, new ImportTableOptions() 
{ ConvertNumericData = true });

Hope, this helps a bit.