0

How to parse .xls file line by line using C#? Or it is possible to convert from .xls to .csv file using C#?

https://drive.google.com/file/d/0B5QCp8zWvdyLQllmRk9GOHlNM2c/view?usp=sharing

1
  • 3
    The answer to this question is just a Google search away, there are a host of libraries that allow you to read XLS files even without Excel installed. You can also set up an OleDb connection and query the spreadsheet like you would query any other database. Commented Jun 21, 2017 at 8:41

2 Answers 2

1

You can read them like a matrix, consisting of rows and columns. There are lots of libraries on NuGet to do that. Or you can look at the answers to convert it to a csv file.

Sign up to request clarification or add additional context in comments.

Comments

0

You can use Microsoft Excel Interop Assemblies to read the excel files .

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.