public void Export(string businessDate, string queryCondition, string queryText, string exportFilePath) { System.Data.DataTable dtExport = GetByCondition(businessDate, queryCondition, queryText); bool isAddTitle = true; int sheetIndex = 1; int rowIndexStart = 1; int columnIndexStart = 1; using (ExcelProcess excelProcess = new ExcelProcess(exportFilePath)) { excelProcess.Export(sheetIndex, rowIndexStart, columnIndexStart, dtExport, isAddTitle); excelProcess.Save(); } }