Home » excel » c# – Good resources for parsing excel files?

c# – Good resources for parsing excel files?

Posted by: admin May 14, 2020 Leave a comment

Questions:

I’m going to start taking an excel file for a bulk member upload in my ASP.Net C# Web application.

Does anyone know of any good free libraries for parsing excel sheets or where I can find good documentation for parsing excel files?

There’s only going to be one sheet in the workbook… I’m just looking for something to get me started.

How to&Answers:

I like Excel Data Reader.

It’s simple and easy to use. Supports Excel 97 through 2007.

Answer:

You can use the Access Database Engine redistributable, and parse Excel files via ADO.NET.

Even though it’s for “Access”, it allows parsing of .xls and .xlsx files, as well. See the documentation on that page for connection string details.