Excel.Labs 2.2.1

dotnet add package Excel.Labs --version 2.2.1
NuGet\Install-Package Excel.Labs -Version 2.2.1
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="Excel.Labs" Version="2.2.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Excel.Labs --version 2.2.1
#r "nuget: Excel.Labs, 2.2.1"
#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 Excel.Labs as a Cake Addin
#addin nuget:?package=Excel.Labs&version=2.2.1

// Install Excel.Labs as a Cake Tool
#tool nuget:?package=Excel.Labs&version=2.2.1

<p align="center"> <img src="https://user-images.githubusercontent.com/602600/144003492-52eb4611-acaf-4f42-94bf-236b252264c8.png" style="max-width:100%;" height="140" /> </p>

Source Badges
Sponsorship Sponsorship
Workflows Workflow-Build-and-Test
Stats Version Downloads
License License: MIT
Github Activity GitHub commit activity GitHub contributors GitHub last commit GitHub search hit counter GitHub code size in bytes GitHub repo size
Languages GitHub top language
Issue Tracking GitHub issues GitHub closed issues GitHub closed pull requests GitHub pull requests

Give a Star 🌟

If you want to support ExcelLabs then you may give a star or be one of the sponsors.


Welcome to Excel Labs

ExcelLabs is an Excel Helper library written in C#.

Features

This tool provides a C# based solution to create Excel files without complex queries. This package supports Android, iOS, Linux, macOS and Windows.

Installation

NuGet Package Manager
PM> Install-Package Excel.Labs
.NET CLI
> dotnet add package Excel.Labs

Definition

Model
public class Cellx
{
   public int RowIndex { get; set; }
   public string ColumnName { get; set; }
   public string Value { get; set; }
}
Usage
1. Create a Cell List
2. Add Some Data
3. Call SaveFile Function
string title = "Excel Labs NuGet";
string sheetName = "Simple and Fast";
string path = AppDomain.CurrentDomain.BaseDirectory;

// 1. create a cell list
List<Cellx> cells = new List<Cellx>();

// 2. values as an array
List<string> languages = new List<string>() {
    "Java", // A
    "C#", // B
    "Javascript", // C
    "Swift", // D
    "Php", // E
    "Python", // F
    "Go", // G
    "Swift", // H
    "", // I
    "", // J
    "", // K
    "Objective-C", // L
    "C++", // M
    "F#" // N
    };
    
foreach (string lang in languages)
{
    // no column name for ordered columns
    cells.Add(new Cellx(1, lang));
}

// 3. single value with column name
cells.Add(new Cellx(2, "Fortran", "A"));
cells.Add(new Cellx(2, "Cobol", "D"));
cells.Add(new Cellx(2, "Pascal", "I"));

// 4. single value without column name
cells.Add(new Cellx(3, "Visual Studio"));
cells.Add(new Cellx(3, "Webstorm"));
cells.Add(new Cellx(3, "Xcode"));
cells.Add(new Cellx(3, "Notepad"));

// call save function
ExcelLabs.SaveFile(title, path, sheetName, cells);
Screenshot

labs

Support or Contact

Please visit https://doxalabs.co.uk

License

Excel Labs is released under the MIT license.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
2.2.1 1,548 3/28/2023
2.2.0 2,909 11/30/2021
2.1.0 8,233 2/22/2021
2.0.0 770 9/20/2019
1.1.0 512 9/19/2019

.NET 7 & .NET Framework Demo