https://github.com/ignatandrei/exporter
Export to Office(Excel,Word) , Pdf,OpenDocumentFormat( ODS,ODT )from Classes/DataSet/DataTable/IDataReader/JSON/CSV/RSS/
https://github.com/ignatandrei/exporter
Last synced: 6 months ago
JSON representation
Export to Office(Excel,Word) , Pdf,OpenDocumentFormat( ODS,ODT )from Classes/DataSet/DataTable/IDataReader/JSON/CSV/RSS/
- Host: GitHub
- URL: https://github.com/ignatandrei/exporter
- Owner: ignatandrei
- License: apache-2.0
- Created: 2016-01-02T15:22:16.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-11T07:58:48.000Z (over 3 years ago)
- Last Synced: 2025-04-06T00:32:02.296Z (over 1 year ago)
- Language: C#
- Homepage: http://exporter.azurewebsites.net/
- Size: 2.66 MB
- Stars: 95
- Watchers: 13
- Forks: 28
- Open Issues: 39
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Exporter
[](https://gitter.im/ignatandrei/Exporter?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
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
[](https://ci.appveyor.com/project/ignatandrei/exporter/branch/master)
Code examples in C# / JavaScript at
Demo online at
You can contribute to the project - read
PS: Just to make you an idea, this can be the code to export to Excel
```csharp
List listWithPerson = ... //obtained from database
var export=new ExportExcel2007();
var data = export.ExportResult(listWithPerson);
File.WriteAllBytes("a.xlsx", data);
Process.Start("a.xlsx");
```
(Do not forget
```csharp
using ExporterObjects;
using ExportImplementation;
```
)
You can also watch video tutorials at [YouTube](https://www.youtube.com/playlist?list=PL4aSKgR4yk4MqsH5M-f1f5YLVG-nwr4FG)
But is better to read the [Wiki](https://github.com/ignatandrei/Exporter/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.
[](https://paypal.me/ignatandrei1970/25)
* $5 for a cup of coffee
* $10 for pizza
* $25 for a lunch or two
* $100+ for upgrading my development environment