Parsing CSV files in .net

|
There are numerous ways to read CSV files in .net, using ODBC, using Jet OLED, and then hand-crafting a solution using string.Split (which is almost always the worst way to do things). Not to mention a multitude of  home-grown solutions on codeproject.com and the like. None of which seem to handle every case.

One that seems to receive very little press is the TextFieldParser in the Microsoft.VisualBasic.IO namespace. Quite why this got "relegated" to what is effectively the modern-day MSVBVMxx.DLL, I have no idea as it's bloody useful. Yes. Bloody useful!

About this Entry

This page contains a single entry by Robert Wray published on May 15, 2009 8:30 AM.

Community Blogs and Commercial software was the previous entry in this blog.

Custom Visual Studio Item Templates is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 5.04