0

I'm trying to read the cells into an excel file without using ole db, 'cause I can't create the data into the excel (the excel file comes from my client and I can't modify...)

how can I do? thanks

2
  • read the cells from an excel file into C#, or write to an excel file from C#? Also, but excel do you mean .xls format or is it simple .csv ? Commented Nov 15, 2010 at 7:15
  • what? can you elaborate as to why you would need to modify the file if you're just trying to read the contents? Commented Nov 15, 2010 at 7:17

3 Answers 3

3

Try looking at the answer of this question - hopefully that will help you..

Reading Excel files from C#

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

Comments

1

Don't understand your question. But maybe NPOI can help.

Comments

0

Use interop library for excel. you should define a workbook and a worksheet then a range and read all cells in that range so easy...

2 Comments

this requires every user of your software to have Excel installed
@KBoek: is this restricted in the question?

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.