Skip to main content
Any Framework

Syncfusion XlsIO library is a native .NET class library that can be used to create and modify Microsoft Excel files. It provides a full-fledged object model that facilitates accessing & manipulating the Excel documents (XLSX, XLS, XLSM, XML, XLTM and ODS), CSV and .TXT files.

Published
Aug 2, 2023
3y ago
Total Downloads
1.0M
1,049,811

Install

dotnet add package Syncfusion.XlsIO.AspNet.Mvc4 --version 22.2.7

No framework information available.

README

Syncfusion ASP.NET MVC Excel library

The Syncfusion ASP.NET MVC Excel (XlsIO) library is a feature-rich and high-performance .NET Excel library that is used to create, read, and edit Excel documents programmatically without Microsoft Office dependencies.

ASP.NET MVC Excel Library

Features Overview | Docs | API Reference | Online Demo | GitHub Examples | Blogs | Support | Forums | Feedback

Key features

System Requirements

Getting Started

You can fetch the Syncfusion ASP.NET MVC Excel library NuGet by simply running the command Install-Package Syncfusion.XlsIO.AspNet.Mvc4 from the Package Manager Console in Visual Studio.

Try the following code snippet to create a simple Excel document.

using Syncfusion.XlsIO;
//Initialize ExcelEngine.
using (ExcelEngine excelEngine = new ExcelEngine())
{
    //Initialize IApplication.
    IApplication application = excelEngine.Excel;
    //Set the default version as Xlsx.
    application.DefaultVersion = ExcelVersion.Xlsx;
    //Create a new workbook with one worksheet.
    IWorkbook workbook = application.Workbooks.Create(1);
    //Get the worksheet into IWorksheet.
    IWorksheet worksheet = workbook.Worksheets[0];
    //Set a value to Excel cell.
    worksheet.Range["A1"].Value = "Hello World";
    //Save the Excel document.
    workbook.SaveAs("Output.xlsx", HttpContext.ApplicationInstance.Response, ExcelDownloadType.Open);
}

For more information to get started, refer to our Getting Started Documentation page.

License

This is a commercial product and requires a paid license for possession or use. Syncfusion’s licensed software, including this component, is subject to the terms and conditions of Syncfusion's EULA. You can purchase a license here or start a free 30-day trial here.

About Syncfusion

Founded in 2001 and headquartered in Research Triangle Park, N.C., Syncfusion has more than 27,000+ customers and more than 1 million users, including large financial institutions, Fortune 500 companies, and global IT consultancies.

Today, we provide 1700+ components and frameworks for web (Blazor, Flutter, ASP.NET Core, ASP.NET MVC, ASP.NET Web Forms, JavaScript, Angular, React, Vue, and jQuery), mobile (.NET MAUI, Flutter, Xamarin, UWP, and JavaScript), and desktop development (WinForms, WPF, WinUI, .NET MAUI, Flutter, Xamarin, and UWP). We provide ready-to-deploy enterprise software for dashboards, reports, data integration, and big data processing. Many customers have saved millions in licensing fees by deploying our software.


[email protected] | www.syncfusion.com | Toll Free: 1-888-9 DOTNET

Changes from Previous Version

No structural changes between v22.2.5 and v22.2.7.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.