PFToExcel 1.0.4

dotnet add package PFToExcel --version 1.0.4
                    
NuGet\Install-Package PFToExcel -Version 1.0.4
                    
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="PFToExcel" Version="1.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PFToExcel" Version="1.0.4" />
                    
Directory.Packages.props
<PackageReference Include="PFToExcel" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PFToExcel --version 1.0.4
                    
#r "nuget: PFToExcel, 1.0.4"
                    
#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.
#:package PFToExcel@1.0.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PFToExcel&version=1.0.4
                    
Install as a Cake Addin
#tool nuget:?package=PFToExcel&version=1.0.4
                    
Install as a Cake Tool

PFToExcel

PFToExcel is a utility library that helps developers export System.Data.DataTable to Excel .xlsx files using EPPlus.
This package embeds EPPlus 4.5.3.3 (LGPL license) to allow easier internal use without external dependencies.

Features

  • Export a DataTable to Excel format (.xlsx)
  • Supports custom sheet names
  • Works with .NET Framework 4.7.2

How to Use

var dataTable = new DataTable(); // your data
using (var package = new ExcelPackage())
{
    PFToExcel.ExportDataTableToExcel(dataTable, package, "Sheet1");
    package.SaveAs(new FileInfo("output.xlsx"));
}
Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.4 400 7/25/2025
1.0.3 407 7/25/2025
1.0.2 422 7/25/2025
1.0.1 137 6/30/2025
1.0.0 133 6/30/2025