store the data from the database to the xml
I have the table,I want asp.net source code to store and retrive data from the database using xml.At first i want to store the database dataitems to the xml from that xml i want to read the dataitems.Please any one reply me.
Status:
Open Mar 16, 2009 - 10:16 PM
asp, database, XML, code
2answers
Answers
Oct 22, 2009 - 03:32 AM
If your database is SQL server the use the query to fect the xml data from DB
select * from MyTable for xml auto, elements
and do an command.executescalar to get the xml string, write it to an xml file.
Read the xml file through XmlDocument or XmlReader whichever is required.
Nov 27, 2009 - 05:17 AM
The question looks to be abandoned by the user who asked it. If no action is taken within 2 days, a Quomon Moderator will consider closing the question and distributing the points.
The Quomon Team
Answer this question
Share Your Own Experience & Expertise
We look to ensure that every question is answered by the best people with relevant expertise and experience, the best answers include multiple perspectives. Do you have relevant expertise or experience to contribute your answer to any of these commonly asked questions?
Add New Comment