Advertisement

12.31.2005 at 02:27PM PST, ID: 21680283
[x]
Attachment Details

import csv file to a dataTable

Asked by brokeMyLegBiking in Microsoft Visual Basic.Net

Tags: csv, import, datatable, file


What is the easiest way to import a CSV file into a .NET DataTable object?

I am using Visual Studio 2005.

1) Does OLEDB have a driver that could parse a CSV into a datatable?

2) Is some other class inside the System.Data namespace able to parse a CSV file?

3) What about VSTO, does that have a tool that could allow me to tap into the functionality of Excel and read a CSV file? (I'm not very familiar with VSTO)

thanks!

brokeMyLegBikingStart Free Trial
[+][-]12.31.2005 at 02:52PM PST, ID: 15585434

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Tags: csv, import, datatable, file
Sign Up Now!
Solution Provided By: iboutchkine
Participating Experts: 1
Solution Grade: A
 
 
[+][-]12.31.2005 at 03:07PM PST, ID: 15585468

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]12.31.2005 at 03:13PM PST, ID: 15585481

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32