Hi,
How To Use XML in ASP.NET?
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Jul 12, 2012, 7:51 AM
.NET Framework has extensive support for working with XML Language. In the .NET framework, the support for XML documents includes:
XML Namespace
The System.Xml namespace provides a Large set of classes for processing XML data.There Are more classes such as
XmlTextReader reader = new XmlTextReader("XML1.xml");
It is important to note that the .xml file you pass as an argument to the constructor of the XmlTextReader class exists in the \WINNT\System32 folder.
XmlTextWriter writer = new XmlTextWriter(Response.Output);
Here Response.Output represents an outgoing HTTP response stream to which you want to send the XML data.
XmlDocument doc = new XmlDocument();
DataSet ds=new DataSet();
XmlDataDocument doc=new XmlDocument(ds);
Please refer the below links
http://r4r.co.in/c1/01/tutorial/csharp/how_to_use_xml_in_asp.shtml
http://www.beansoftware.com/ASP.NET-Tutorials/Using-XML.aspx
http://www.w3schools.com/xml/xml_usedfor.asp
Thanks