Reputation: 269
Is there any chance to read .xlsx files in C# without having Excel installed on the client, and with no OLEDB connection available?
The application is a Winforms project written in VS2005 C# .NET Framework 2.0.
Upvotes: 9
Views: 15761
Reputation: 691
NPOI's latest version support both xsl and xslx. Download it from
NPOI 2.0 and use NPOI.XSSF.UserModel.XSSFWorkbook fro xlsx.
Upvotes: 0
Reputation: 754408
How about this one here:
EPPlus-Create advanced Excel 2007 spreadsheets on the server
EPPlus is a .net library that reads and writes Excel 2007 files using the Open Office Xml format (xlsx). EPPlus supports ranges, cell styling, charts, pictures, shapes, named ranges, autofilters and a lot of other stuff.
Upvotes: 4
Reputation: 4215
This question looks to be similar to this one no?
Have you checked NPOI ?
Best
Upvotes: 0
Reputation: 12552
Have a look at excellibrary. For now it supports only xls, but xlsx support is planned for the future.
Upvotes: 0