XML and SQL database

  • Thread starter Thread starter Petr Jankovský
  • Start date Start date
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?
 
Take a look at the SqlDataAdapter and its Update method, which needs
respective SqlCommands and accepts a DataTable or a DataSet as input.
Peter
 
Back
Top