Hi,
now i'm working to export the gridview in asp.net to xml..
anyone have any idea..

just now,this is my code but there is some error that i can't figure out..

Response.ContentType = "text/x-json";
XmlDocument xmlToExport = new XmlDocument();
string toExport = MethodToReturnXMLString(id);
xmlToExport.LoadXml(toExport);
Response.Write(xmlToExport);
xmlToExport.Save("Filename.xml");
Response.End();
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.