update dataset

  • Thread starter Thread starter pas07920
  • Start date Start date
P

pas07920

How can I update a dataset loaded with data from an xml file?

The structure of the xml:



<Poll>

<Choice>First Choice</Choice>

<Value>0</Value>

</Poll>
....
....
I think I want to load a dataset with the data, update the dataset, then
write it back to the xml file.
Question: how do I update the dataset? The choice will be made by selecting
a radio button
 
try the WriteXml() method of your DataSet:

ex.
myDataSet.WriteXml("~/Components/FileName.xml")

--
Nikolaus R. Hruska
AASHTO Materials Reference Laboratory
National Institute of Standards and Technology
http://amrl.net
(e-mail address removed)
 
Back
Top