コード例 #1
0
 public void ExportToExcel(IEnumerable <DataTable> dataTables, string fileName, bool launchExcel)
 {
     ExportToExcelTask.ExportDataTablesToExcel(dataTables, fileName, launchExcel);
 }
コード例 #2
0
 public Task ExportToExcelAsync(IEnumerable <DataTable> dataTables, string fileName, bool launchExcel = true) =>
 Task.Run(() => ExportToExcelTask.ExportDataTablesToExcel(dataTables, fileName, launchExcel));