-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathLoadingDataFromCollection.cs
More file actions
31 lines (28 loc) · 1.17 KB
/
LoadingDataFromCollection.cs
File metadata and controls
31 lines (28 loc) · 1.17 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
using EPPlusSamples.LoadingData;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace EPPlusSamples.ImportAndExport
{
public static class LoadingDataFromCollection
{
public static void Run()
{
//Sample 4 - Shows a few ways to load data (Datatable, IEnumerable and more).
Console.WriteLine("Running sample 4 - LoadingDataWithTables");
LoadingDataWithTablesSample.Run();
Console.WriteLine("Sample 2.1 (LoadingDataWithTables) created {0}", FileUtil.OutputDir.Name);
Console.WriteLine();
//Sample 4 - Shows how to load dynamic/ExpandoObject
LoadingDataWithDynamicObjects.Run();
Console.WriteLine("Sample 2.1 (LoadingDataWithDynamicObjects) created {0}", FileUtil.OutputDir.Name);
Console.WriteLine();
// Sample 4 - LoadFromCollectionWithAttributes
LoadingDataFromCollectionWithAttributes.Run();
Console.WriteLine("Sample 2.1 (LoadingDataFromCollectionWithAttributes) created {0}", FileUtil.OutputDir.Name);
Console.WriteLine();
}
}
}