SpreadSheetTasks 0.2.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package SpreadSheetTasks --version 0.2.2
                    
NuGet\Install-Package SpreadSheetTasks -Version 0.2.2
                    
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="SpreadSheetTasks" Version="0.2.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SpreadSheetTasks" Version="0.2.2" />
                    
Directory.Packages.props
<PackageReference Include="SpreadSheetTasks" />
                    
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 SpreadSheetTasks --version 0.2.2
                    
#r "nuget: SpreadSheetTasks, 0.2.2"
                    
#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.
#addin nuget:?package=SpreadSheetTasks&version=0.2.2
                    
Install as a Cake Addin
#tool nuget:?package=SpreadSheetTasks&version=0.2.2
                    
Install as a Cake Tool

SpreadSheetTasks

The .NET library for fast reading and writing Excel files (.xlsx, .xlsb). Some methods/ideas based on great libraries :

Installation

https://www.nuget.org/packages/SpreadSheetTasks/

Install-Package SpreadSheetTasks

dotnet add package SpreadSheetTasks

Usage

Read

using (XlsxOrXlsbReadOrEdit excelFile = new XlsxOrXlsbReadOrEdit())
{
   excelFile.Open("file.xlsx");
   excelFile.ActualSheetName = "sheet1";
   object[] row = null;
   while (excelFile.Read())
   {
       if (row == null)
       {
           row = new object[excelFile.FieldCount];
       }
       excelFile.GetValues(row);
   }
}

Write

using (XlsbWriter xlsx = new XlsbWriter("file.xlsb"))
{
  xlsx.AddSheet("sheetName");
  xlsx.WriteSheet(dataReader);
}

Benchamarks and more

https://github.com/KrzysztofDusko/SpreadSheetTasks

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

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
0.4.0 164 5/18/2025
0.3.2 473 10/23/2024
0.3.1 190 8/25/2024
0.3.0 235 5/12/2024
0.2.17 282 2/16/2024
0.2.16 150 2/15/2024
0.2.14 251 1/13/2024
0.2.13 184 1/6/2024
0.2.12 248 11/25/2023
0.2.11 187 11/4/2023
0.2.10 183 11/4/2023
0.2.9 148 11/4/2023
0.2.8 166 9/26/2023
0.2.7 169 9/19/2023
0.2.6 170 9/18/2023
0.2.5 171 9/16/2023
0.2.4 442 3/5/2023
0.2.3 1,075 12/1/2022
0.2.2 497 10/22/2022
0.2.1 494 8/9/2022
0.2.0 464 8/7/2022
0.1.2 594 3/21/2022
0.1.1 412 12/3/2021
0.1.0 389 11/9/2021
0.0.4 482 10/23/2021
0.0.3 489 10/17/2021
0.0.2 404 9/19/2021
0.0.1 383 9/18/2021

Performance improvements, Csv writer preview