Excel.Labs
2.2.0
.NET Standard 2.0
Install-Package Excel.Labs -Version 2.2.0
dotnet add package Excel.Labs --version 2.2.0
<PackageReference Include="Excel.Labs" Version="2.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Excel.Labs --version 2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Excel.Labs, 2.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.0
// Install Excel.Labs as a Cake Tool
#tool nuget:?package=Excel.Labs&version=2.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Source | Badges |
---|---|
Sponsorship |
|
Workflows |
|
Stats |
|
License |
|
Github Activity |
|
Languages |
|
Issue Tracking |
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
Support or Contact
Please visit https://doxalabs.co.uk
License
Excel Labs is released under the MIT license.
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- DocumentFormat.OpenXml (>= 2.9.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
.NET 6 & .NET Framework Demo