ExcelFunctions.ExportDataTableToExcelXLSX

Output the passed in DataTable to an xlsx file (Excel 2007+) format. This creates an XML file, so does not require Excel to be installed on the system performing this output.

public static void ExportDataTableToExcelXLSX(DataTable table,
	string path)

Parameters

table
The DataTable to use as the data source

path
The path and file name to create


See also:

Class ExcelFunctions