How can I load a CSV file into a System.Data.DataTable, creating the datatable based on the CSV file?
Does the regular ADO.net functionality allow this?
The best option I have found, and it resolves issues where you may have different versions of Office installed, and also 32/64-bit issues like Chuck Bevitt mentioned, is FileHelpers.
It can be added to your project references using NuGet and it provides a one-liner solution:
CommonEngine.CsvToDataTable(path, "ImportRecord", ',', true);