BizTalk Utilities CV ,   Jobs ,   Code library
 
Go to the front page to continue learning about XML or select below:

Contents

ReBlogger Contents

Previous posts in XML

 
 
Page 1807 of 21350

C# Parse(Grab) XML Feeds

Blogger : Geekswithblogs.net
All posts : All posts by Geekswithblogs.net
Category : XML
Blogged date : 2008 Nov 26

I want to show you one of the simplest way to parse xml feeds that you want to grab from the site offering this functionality. For this we need only a DataSet, that will store the parsed data in his tables. So try for example the following code and you'll see what the dataset contains after execution:

            DataSet ds = new DataSet();
            ds.ReadXml("http://weather.yahooapis.com/forecastrss?p=MDXX0003&u=c", XmlReadMode.Auto);

And, what do you think? That's all you have to do! Pretty simple, yah!


Read comments or post a reply to : C# Parse(Grab) XML Feeds
Page 1807 of 21350

Newest posts
 

    Email TopXML