i want to convert .xls file to .txt file using C#, plzz can any one help me?

Recommended Answers

All 5 Replies

>i want to convert .xls file to .txt file using C#, plzz can any one help me?

Yes! we will. Post your code/problem here. Please use BB code tags while posting source program.

[code]

.... [/code]

I wannna convert .xls file to .txt file using the third tools. I was convert .pdf to .txt using iTextSharp. But, I don't know what tools that I should to use to convert .xls to .txt and how to use it.

Can't u give me a suggest which I can use to convert it and how to use the tools??

thx before...

Firstly, read .xls file using OleDB Provider or Office InterOp. Create a text file using System.IO classes and write data into it.

I'll try Office Interop.. can u help me to use word interop for excel?
I'm using Lucene.NET. The Indexer in Lucene.NET accepts only raw text data..
thx...

Take a look at this thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.