Export to Office(Excel,Word) , Pdf,OpenDocumentFormat( ODS,ODT )from Classes/DataSet/DataTable/IDataReader/JSON/CSV/RSS/
C# JavaScript HTML Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Exporter github test irrelevant Apr 21, 2018
powershell added powershell Jan 27, 2016
.gitignore Initial commit Jan 2, 2016
LICENSE Initial commit Jan 2, 2016
README.md Update README.md Jul 12, 2017

README.md

Exporter

Join the chat at https://gitter.im/ignatandrei/Exporter Export a list/array to Office(Excel,Word) , Pdf, Html,Open Document Format for Office Applications (ODF ) (ODT - OpenDocument Text, ODS - OpenDocument Spreadsheet)

The data could be a C# class or a JSON string or a CSV string or a DataTable

NuGet package at https://www.nuget.org/packages/ExporterWordExcelPDF/

The source code has tests and a console project for easy testing the package

Build status

Code examples in C# / JavaScript at https://github.com/ignatandrei/Exporter/wiki

Demo online at http://exporter.azurewebsites.net/

You can contribute to the project - read https://github.com/ignatandrei/Exporter/wiki/Help-the-project

PS: Just to make you an idea, this can be the code to export to Excel

    List<Person> listWithPerson  = ... //obtained from database
    var export=new ExportExcel2007<Person>();
    var data = export.ExportResult(listWithPerson);
    File.WriteAllBytes("a.xlsx", data);
    Process.Start("a.xlsx");

(Do not forget

using ExporterObjects;
using ExportImplementation;  

)

You can also watch video tutorials at YouTube

But is better to read the Wiki

Support this software

This software is available for free and all of its source code is public domain. If you want further modifications, or just to show that you appreciate this, money are always welcome.

Donate

  • $5 for a cup of coffee
  • $10 for pizza
  • $25 for a lunch or two
  • $100+ for upgrading my development environment