Open XML SDK
Sylvan.Data.Excel
Our great sponsors
Open XML SDK | Sylvan.Data.Excel | |
---|---|---|
23 | 12 | |
3,869 | 168 | |
1.6% | - | |
9.1 | 7.0 | |
6 days ago | 4 days ago | |
C# | C# | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Open XML SDK
-
Libcurl
While it doesn't appear to have been updated in many years, Microsoft built a similarly useful tool[1] that lets you browse the structure of a given Office document and see C# code that generates various components of it.
[1] https://github.com/dotnet/Open-XML-SDK/releases/tag/v2.5
-
Is it possible to use Microsoft Word features programatically?
If you use this check out the productivity tool, it will convert a word doc to csharp for you. https://github.com/dotnet/Open-XML-SDK/releases/tag/v2.5
-
Go library that supports extraction and generation of word documents with complex formulae, equations, tables and images.
You’re looking for OpenXML handling. C# probably has the best support, since there’s a Microsoft supported SDK - https://github.com/dotnet/Open-XML-SDK
-
If you had to pick a library from another language (Rust, JS, etc.) that isn’t currently available in Python and have it instantly converted into Python for you to use, what would it be?
https://github.com/dotnet/Open-XML-SDK Yeah, it can be kind of wrapped with pythonnet and stuff. But having it totally pyhtonized would be sooooo great.
- Creating a Web App using Excel
-
Count lines, words, and characters of a MS Word file? ( i.e. Test1.docx )
As an alternative, you could use the Powershell module Open-XML-SDK or PSwriteWord, or PSWriteOffice
-
OpenXml throws a different exception given identical code and similar build configuration for two distinct solutions. Why?
PackageLoader was introduced in https://github.com/OfficeDev/Open-XML-SDK/commit/522200f65b9182f65a112130f830403467f54936
-
Programatically replacing text in docx
In the official GitHub repository you will find similar tools listed, if you have a very particular requirement not fulfilled by OpenXML SDK.
-
Formatting issues from Mac to Windows
Or alternatively you can create a .NET application using the Open XML SDK that does the same thing.
-
Launch HN: Windmill (YC S22) – Turn scripts into internal apps and workflows
This looks amazing and I'd love to try it out for this one thing I have in mind.
I'm not familiar with the Deno part of Typescript. Would it somehow be possible to use a C# library as a dependency?
For example https://github.com/OfficeDev/Open-XML-SDK I need for a way to edit (not create) the openXML content of Microsoft Office files
Sylvan.Data.Excel
-
Today I learned that Range.Find() in the Excel interop library respects any filters the workbook was saved with and will not return results from filtered rows.
I'm a fan of Sylvan.Data.Excel myself
-
Any tips on converting a XLSX file to HTML without using a licensed library?
Here is a simple, complete gist showing how to turn a DbDataReader into an HTML table. The WriteHtmlTable extension method can be used with any ADO.NET compatible driver, which the Sylvan.Data.Excel and Sylvan.Data.Csv libraries both support.
-
Need some help/direction reading CSV into MySQL without duplication
I maintain a couple libraries that can help with reading the data files: Sylvan.Data.Csv and Sylvan.Data.Excel. I see no reason to not allow users to provide whichever format is convenient for them.
-
What's the best way to read an Excel file into a DataGrid in WinUi 3?
You can give my library a try: Sylvan.Data.Excel. You seem to be concerned about performance, so you can be happy to know it is the fastest Excel reader in the .NET ecosystem, by quite a wide margin. It is open source, MIT licensed, and is easy to use (in my biased opinion).
-
Easiest Way to Read and Import Excel File Data into DataTable C#
The easiest? I'm gonna have to disagree with you on that one. I believe my library, Sylvan.Data.Excel make it even easier (possibly the easiest) to read Excel data in .NET.
-
How would I use an Excel file as Data Source for SQLite connection?
If you're trying to load an Excel worksheet into a DataTable, I maintain a library that can make this quite easy: Sylvan.Data.Excel. It is available as a nuget package, open source, MIT licensed, and the fastest Excel reader for .NET.
-
How to convert an Excel file to Data table
I maintain a library, Sylvan.Data.Excel that might work for you. I claim it is the fastest Excel library in the .NET ecosystem. It is open source and MIT licensed, so feel free to use it however you wish. It has no external dependencies other than .NET itself.
-
cannot create an instance of the abstract type or interface. how to solve this ???
I would recommend taking a look at [Sylvan.Data.Excel](https://github.com/MarkPflug/Sylvan.Data.Excel) if all you are trying to do is read data out of excel. It is a library that I maintain, and is extremely fast and easy to use.
-
Read .xls, .xlsx files using interop and import to datatable
I maintain a library that you can try: Sylvan.Data.Excel.
-
Read uploaded excel file
Here is a some sample code of how to echo the contents of an Excel spreadsheet as CSV to the client browser using my libraries Sylvan.Data.Excel and Sylvan.Data.Csv:
What are some alternatives?
ClosedXML - ClosedXML is a .NET library for reading, manipulating and writing Excel 2007+ (.xlsx, .xlsm) files. It aims to provide an intuitive and user-friendly interface to dealing with the underlying OpenXML API.
ExcelDataReader - Lightweight and fast library written in C# for reading Microsoft Excel files
EPPlus
Sylvan - A collection of .NET libraries, including the fastest general-purpose CSV parser for .NET.
NPOI - a .NET library that can read/write Office formats without Microsoft Office installed. No COM+, no interop.
ExcelMapper - An Excel to object mapper. Maps POCOs to and from Excel. Configuration via convention, attributes, or fluent methods.
DocX - Fast and easy to use .NET library that creates or modifies Microsoft Word files without installing Word.
ReadExcelUsingSylvanExample - Showing issue with user's data when worksheet column's header's have illegal characters(issue with data, not Sylvan), and Sylvan not reading file if first row is empty.
NetOffice - 🌌 Create add-ins and automation code for Microsoft Office applications.