Quantcast
Viewing all articles
Browse latest Browse all 20

Re: "The remote server returned an error: (407) Proxy Authentication Required" Help please

Hi,

Also you can use XmlTextReader  which might be a bit simple:

        // Create the XmlReader object.
        XmlTextReader reader = new XmlTextReader("http://msdn.microsoft.com/rss.xml");
        XmlDocument doc = new XmlDocument();
        doc.Load(reader);
        reader.Close();
        XmlNodeList nodes = doc.DocumentElement.SelectNodes("/rss/channel/item/title");
        

        for (int i = 0; i < nodes.Count; i++)
        {
            Response.Write(nodes[i].Name + " value=");
            Response.Write(nodes[i].FirstChild.Value);
            Response.Write(("
")); }
 You can add minor changes to above code to create dataset.

Viewing all articles
Browse latest Browse all 20

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>