How to read a CSV file into a .NET Datatable
I have been using OleDb provider. However, it has problems if you are reading in rows that have numeric values but you want them treated as text. However, you can get around that issue by creating a schema.ini file. Here is my method I used: // using System.Data; // using System.Data.OleDb; // using System.Globalization; // … Read more