How to write the data from database into an XML file

Platform: ASP.NET| Category: XML

VB.NET


’Fill the DataSet
ds.WriteXml(Server.MapPath ('products.xml' ) )

C#


//Fill the DataSet 
ds.WriteXml(Server.MapPath ('products.xml' ) );

Note : Make sure you have write and modify rights.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.