Quantcast
Channel: ClosedXML - The easy way to OpenXML
Viewing all articles
Browse latest Browse all 1877

New Post: Text File Imports

$
0
0
roberttanenbaum: I'm sorry, no disrespect intended, but that is simply incorrect. I was using another library which also uses Open XML as its backbone and was able to import text files directly to a spreadsheet without issue. The only requirement was establishing what the import options were, and that was a simple line of code for each field. The import itself was a single line of code. I didn't have to parse anything; the library did it for me.

Additionally, there are other "helper" libraries which can handle parsing text files just fine. I ask the question here because ClosedXML worked great for handling data down from a database, but I didn't see anything in the documentation addressing text file imports. Now I know ClosedXML doesn't do them, and that's fine. It does what it can do very well. But the other library I use can do this also, and handle the text imports, so I guess for doing those things I'll have to stay with that one.

I don't mean to be argumentative, but I know for a fact some Open XML libraries can do this, out of the box. I use one now.

Viewing all articles
Browse latest Browse all 1877

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>