To write data in a datatable to xml file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • saurabh9gupta
    New Member
    • Aug 2009
    • 52

    #1

    To write data in a datatable to xml file

    Hi.

    I have a code in which I have read the data from acess database into a datatable.

    I now have to write the data present in the datatable to an xml file.

    The data in the data table is
    ID Name Age Country
    1 Saurabh 22 India
    2 Jai 21 Australia
    3 Vishu 34 USA
    4 Vinay 33 Ghana

    Please guide me on this!
  • Bryan Cheung
    New Member
    • Nov 2010
    • 55

    #2
    http://msdn.microsoft.com/en-us/libr....writexml.aspx

    Good luck,
    Bryan

    Comment

    Working...