Convert Dataset Datatable or GridView to XML in ASP.Net using C#.Net or VB.Net
How to use WriteXml() in C#.Net or VB.Net
In this tutorial i am going to explain about how to convert dataset datatable or gridview into xml document in Asp.Net using C#.Net & VB.Net or How to use WriteXml() in C#.Net or VB.Net. It is achieved using DataTable.WriteXml() method in the System.Data namespace.