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
 
Back
Top