Hi, I am trying to read xml file using HttpWebRequest. But not getting success it gives me error.
If I want to parse the xml wich i can get by posting the data to server then how I can parse it?
Thanks in Advance
Hi, I am trying to read xml file using HttpWebRequest. But not getting success it gives me error.
If I want to parse the xml wich i can get by posting the data to server then how I can parse it?
Thanks in Advance
Use System.Xml.XmlTextReader class.
System.Xml.XmlTextReader tr = new System.Xml.XmlTextReader(url);