Click here to Skip to main content
15,947,785 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I am looking for a simple code for:
Loading an existing xml doc into data set,
using and editing the info stored in the data set,
storing it back into the data set,
"pooring" the data set back into the orignal xml doc.

Thank you,
Plony Alomony
Posted

What have you tried ? Where have you searched ?
 
Share this answer
 
'Read data from xml File
Dim strFilePath As String
Dim dsMessage As New DataSet()
strFilePath = Server.MapPath("File Path")
dsMessage.ReadXml(strFilePath)
'As like readxml there is one method which read datset and write xml file
dsMessage.WriteXml(strFilePath)

:suss:
 
Share this answer
 
To sandip_pawar,

Hi!
Thanks for your answer it was simple and quick,
Now i would like to save the xml tags, that were saved in the data set to My own objects how do i do so?
or how do i read the data that was stored in the data set?

Thanks again,
Plony
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900