BrowardHealth.EPPlusHelperCore
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package BrowardHealth.EPPlusHelperCore --version 1.0.0
NuGet\Install-Package BrowardHealth.EPPlusHelperCore -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BrowardHealth.EPPlusHelperCore" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BrowardHealth.EPPlusHelperCore --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: BrowardHealth.EPPlusHelperCore, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BrowardHealth.EPPlusHelperCore as a Cake Addin #addin nuget:?package=BrowardHealth.EPPlusHelperCore&version=1.0.0 // Install BrowardHealth.EPPlusHelperCore as a Cake Tool #tool nuget:?package=BrowardHealth.EPPlusHelperCore&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
static void Main(string[] args)
{
string execDir = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
string inputFileName = "Test.xlsx";
string inputFilePath = Path.Combine(execDir, inputFileName);
Console.WriteLine($"{inputFilePath} => DataTable...");
DataTable dataTable = inputFilePath.EPPlusReadFromExcel();
string outputFileName = "TestOut.xlsx";
string outputFilePath = Path.Combine(execDir, outputFileName);
Console.WriteLine($"DataTable => {outputFilePath}...");
dataTable.EPPlusWriteExcelFile(outputFilePath);
// option 1
Console.WriteLine($"{inputFilePath} => dynamic list...");
List<dynamic> list1 = inputFilePath.EPPlusReadFromExcel<dynamic>();
foreach (dynamic row in list1.Take(5))
{
Console.WriteLine($"{row.PT_Number}, {row.Admit_Date}");
}
// option 2
Console.WriteLine($"{inputFilePath} => ExpandoObject list...");
List<ExpandoObject> list2 = inputFilePath.EPPlusReadFromExcel<ExpandoObject>();
foreach (ExpandoObject eo in list2.Take(5))
{
var dict = (IDictionary<string, object>)eo;
foreach (string key in dict.Keys)
{
Console.Write($"{key}, {dict[key]}; ");
}
Console.WriteLine();
}
// option 3
Console.WriteLine($"{inputFilePath} => Dictionary list...");
List<Dictionary<string, object>> list3 = inputFilePath.EPPlusReadFromExcel<Dictionary<string, object>>();
foreach (var dict in list3.Take(5))
{
foreach (KeyValuePair<string, object> pair in dict.ToList())
{
Console.Write($"{pair.Key}, {pair.Value}; ");
}
Console.WriteLine();
}
Console.WriteLine("Enter any key to exit...");
Console.ReadKey();
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- EPPlus (>= 6.2.8)
- Newtonsoft.Json (>= 13.0.3)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.