Andrei Ignat edited this page Jan 24, 2016 · 15 revisions


Export to Excel,Word , Pdf, Html,CSV Data could come from C# classes or JSON data

Build status

Nuget Package at https://www.nuget.org/packages/ExporterWordExcelPDF

Demo online at http://exporter.azurewebsites.net/ - export from CSV or JSON to Word/Excel/PDF

Video tutorial at YouTube playlist Export To Word/Excel/PDF

For C# code:

If what you have is a DataTable, the code to export is here: https://github.com/ignatandrei/Exporter/wiki/Export-Data-Table

If what you have is a generic List of an class , the code to export is here: https://github.com/ignatandrei/Exporter/wiki/Export-List-of-objects

If what you have is a CSV string , the code to export is here: https://github.com/ignatandrei/Exporter/wiki/Export-CSV

If what you have is a JSON string , the code to export is here: https://github.com/ignatandrei/Exporter/wiki/Export-JSON-with-C%23-code

For RSS please see https://github.com/ignatandrei/Exporter/wiki/Export-RSS

For IDataReader(SqlDataReader, OracleDataReader , MySqlDataReader,...) please see https://github.com/ignatandrei/Exporter/wiki/Export-IDataReader

For Javascript code please see https://github.com/ignatandrei/Exporter/wiki/Export-JSON-with-Javascript

If you want to customize how to export, please see https://github.com/ignatandrei/Exporter/wiki/Export-Modifying-Templates ( and then send to me back your template ;-) )

You can also buy me a beer by donating at PayPal