Export Excel Data to DataTable without any Formatting

Sample Code

The following sample explains the use of ExportTableOptions.FormatStrategy property to export excel data with and without any formatting.

Console Output

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.012345