-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathImportAndExport.cs
More file actions
42 lines (34 loc) · 1.65 KB
/
ImportAndExport.cs
File metadata and controls
42 lines (34 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using EPPlusSamples.ImportAndExport;
using EPPlusSamples.LoadDataFromCsvFilesIntoTables;
using System.Threading.Tasks;
namespace EPPlusSamples
{
public static class ImportAndExportSamples
{
public static async Task RunAsync()
{
ToCollectionSample.Run();
LoadingDataFromCollection.Run();
//Sample 2.3.1 Loads two csv files into tables and creates an area chart and a Column/Line chart on the data.
//This sample also shows how to use a secondary axis.
await ImportAndExportCsvFilesSample.RunAsync();
//Sample 2.3.2 Shows the 2 ways to load a fixed width text file into a sheet and also how to export to a fixed width text file
ImportAndExportFixedWidthFiles.RunSample();
//Sample 2.4 - Import and Export DataTable
DataTableSample.Run();
// Sample 2.5 - Html Export
//This sample shows basic html export functionality.
//For more advanced samples using charts see https://samples.epplussoftware.com/HtmlExport
HtmlTableExportSample.Run();
await HtmlRangeExportSample.RunAsync();
//Sample 32 - Json Export
//This sample shows the json export functionality.
//For more a samples exporting to chart librays see https://samples.epplussoftware.com/JsonExport
await JsonExportSample.RunAsync();
// Sample 2.7 - ToCollection and ToCollectionWithMappings
// This sample shows how to export data from a worksheet
// to a IEnumerable<T> where T is a class.
ToCollectionSample.Run();
}
}
}