Importing comma seperated values to a DataSet

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hi

I'm trying to import a comma seperated text file which represents a table
with several fields, eg:

bruce, 25, 468-2934
sally, 32, 456-9873

Is there functionality in the .NET DataSet / DataAdapter class (or somewhere
lese) that can do this, or must I implement myself?

Thanks
Joe
 
You will have to implement this yourself. Since the dataset can suck in an
xml file, you may want to convert the csv file to a standard xml file and
suck it in with the ReadXML property of the dataset.
 
Back
Top