XML and SQL database

P

Petr Jankovský

Hello,
I have a XML file from the client and I need to insert data from XML to SQL
database. I know how to insert XML file to ASP.NET dataset, but don't know
how to insert data FROM dataset to database. I know how to insert one row to
database (Insert into etc.) but can't find out how to insert the whole
dataset. Any suggestions?
 
G

Guest

Take a look at the SqlDataAdapter and its Update method, which needs
respective SqlCommands and accepts a DataTable or a DataSet as input.
Peter
 

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

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,077
Latest member
SangMoor21

Latest Threads

Top