Live Chat Icon For mobile
Live Chat Icon

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

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

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

Please submit your question and answer.