Question abour reading file

  • Thread starter Thread starter Eric Caron
  • Start date Start date
E

Eric Caron

Hi

Here's my question, I have to read a CSV file and import data in
DataSet. How I can do this in VB.NET ?

Is it possible to have import method to import file directly in
dataset ?

Thanks
 
A dataset can slurp in an XML file. If the file is properly formatted.

Also, There are utils and code samples roaming the net that can convert CSV
to XML.

Might be easier to just use a StreamReader to read the CSV file and do your
own population of the DataSet. Probably 35-40 lines of code.

-Dino
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top