Filling xml file with tables from database
how do i can fill a xml file with my tables in database, in fact i want fill a xml file with 3 tables which related together, please help me with a sample.
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Abhimanyu K VatsaRank #14 · 51.7K reputationPosted Jul 4, 2010, 9:51 PM EDT
I hope this article will help you to write data in xml or create xml files or display xml data on web forms.
http://www.vbdotnetheaven.com/UploadFile/abhikumarvatsa/1569/?ArticleID=c9dc39f2-b89f-4d28-8243-41a2696abde4
Good Luck
Sam HobbsRank #108 · 20.5K reputationPosted Jul 4, 2010, 11:25 PM EDT
You can read the tables using SQL and use DataTable.WriteXml to write the data.
Look at the menu at the right side of this window for recommended articles.