xml and Dataset

  • Thread starter Thread starter Pritam
  • Start date Start date
P

Pritam

I have a xml file. i want to put the file in a dataset and then from
there to an SQL database through a dataAdapter. I`ve been able to read
the xml file in a dataset but i cannot use it to update my database.
Any ideas?
 
Hi Pritam,

To update are to start with 2 things important:
- the rows have to have a rowstate "inserted"
- the schema from the dataset has to be the same as from the database you
want to update.
Cor
 
Back
Top