Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Sometimes users want to export excel data into a data table without any formatting. For example, if some cell has a value 0.012345 and it is formatted as to display two decimal places, then when the user will export excel data to a data table, it will be exported as 0.01 and not as 0.012345. To deal with this problem, Aspose.Cells has provided ExportTableOptions.FormatStrategy property which can take one of these three values
If you will set it to CellValueFormatStrategy.None, then it will export the data without any formatting.
The following sample explains the use of ExportTableOptions.FormatStrategy property to export excel data with and without any formatting.
Below is the console debug output of the above sample code
Cell String Value: 0.01
Cell String Value without Format: 0.012345
Export Data Table with Format Strategy as Cell Style: 0.01
Export Data Table with Format Strategy as None: 0.012345Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.