src/GiveCRM.ImportExport/GiveCRM.ImportExport/ExcelExport.cs
/// <summary>
/// Exports the data supplied to an excel workbook
/// </summary>
/// <param name="rowData">The data to be exported to the workbook</param>
/// <param name="formatter"></param>
Exports the data supplied to an excel workbook
Exports the data supplied to an excel workbook
public void WriteDataToExport(IEnumerable<IEnumerable<Cell>> rowData, CellFormatter formatter, ExcelFileType excelFileType)
        {
            if (excelFileType == ExcelFileType.XLS)
            {
                ExcelExporter = new ExcelXlsExporter();
            }
            ExcelExporter.WriteDataToExport(rowData, formatter, "Sheet 1");
        }
public void WriteDataToExport ( IEnumerable < IEnumerable < Cell > > rowData , CellFormatter formatter , ExcelFileType excelFileType ) { if ( excelFileType == ExcelFileType . XLS ) { ExcelExporter = new ExcelXlsExporter ( ) ; } ExcelExporter . WriteDataToExport ( rowData , formatter , " " ) ; }
Exports the data supplied to an excel workbook
Exports the data supplied to an excel workbook
rowData
IEnumerable<IEnumerable<Cell>>
The data to be exported to the workbook
The data to be exported to the workbook
formatter
CellFormatter
None
excelFileType
ExcelFileType