Insertion of a nodelist using DataSet.WriteXml method.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created an XML file using DataSet object, in my application. My Dataset consists of 2 tables. I want to insert a set of nodes in the second table. Which means I want to make the child rows of the table 2 of my dataset. The table will be 2 only , but the second table should have a new rowset in the last column. For this if I use WriteXml object, the insertion is at the last, means the insertion being done after the second table. it makes another table. So, i am not able to solve it properly.
Actually , how to write the code to create update the XML document by inserting the node set, by using DataSetName.WriteXml method.
 
Hi Sanjeev,

In a dataset are
datatables
datarows
dataitems
Nothing more.

Confusing is maybe that you have to do when you create it
datatabels
datcolumns
datarows

Where the column and the items are the same.

There is nothing to say against it, however confusing.

Do too not confuse a XML dataset with a XML document, they use the same
technique however are different.

I hope this helps as a start to overcome your problem?

Cor
 
Back
Top