CSV to XML?

  • Thread starter Thread starter David Gouge
  • Start date Start date
D

David Gouge

Hi All,

We are using a web service and one of the methods returns a comma delimited
file as a string. What I would like to do is then get that data into a
datatable so that I can store it in a database somewhere. What would be the
best way to get the csv data into a datatable and how would I go about it?

Thanks in advance.

Dave
 
Hi David,

I know easily how to get a CSV in a datatable. But with that you have it not
yet in the database (missing schema).

In my opinion the most simple way is to read the csv with a streamreader and
do a normal update itterating through a selected datatable from your
database.

Just my thought,

Cor
 
Back
Top