ExportDataTables
Exports as many data tables as you like to an Excel file at the path provided. Requires IronXL feature licence
Task ExportDataTables(string fullFilePath, params DataTable[] tables);
Task ExportDataTables(string fileSourceCode, string fileName, params DataTable[] tables);
Parameters
fullFilePath: Full path including file name where the Excel file should be saved
tables: Tables to export to Excel, will create one worksheet per table
OR
fileSourceCode: Code to the file source where the file should be saved
fileName: Name of the file that will be saved
tables: Tables to export to Excel, will create one worksheet per table
15 September 2025