Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi,
First Create xml file and add data . create dataset and read xml file (ds.readxml"").after to convert table format ds.tables[0].and store data in another xml file in order.plese help me to solve this problem.
Posted
Updated 6-Aug-12 2:52am
v2
Comments
Naga KOTA 6-Aug-12 7:34am    
Can u tell me problem clearly
either are you using one XMl or 2 XML files ?
Simply using with Dataset you can access Xml files and display them as u like
Santhosh Kumar Jayaraman 6-Aug-12 7:48am    
You mean, u ve xml, read it and display it in gridview and another xml, read it and add it to exisitng values in gridview, right?

Well that is your homework, so it is up to you.
Start with the first requirement: create the XML file. If you don't know how to then study the XML format (see, for instance: "XML at w3c schools") and have a look at simple XML file samples (you'll find tons of those, on the net).
You may use the same method to fulfill the other requirements.

By the way, if you have a specific question (suitable for Q&A) then feel free to ask us here.
 
Share this answer
 
Check this article. How to read xml and get it to datatable and how to write it back to xml.

XML to DataSet or GridView and back[^]
 
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