I saw the following code in one of the sites and tried it for my Windows Phone 7 project.
HtmlWeb web = new HtmlWeb();
HtmlDocument doc = new HtmlAgilityPack.HtmlDocument();
doc = web.Load("http://jsbin.com/owobe3");
HtmlNode rateNode = doc.DocumentNode.SelectSingleNode("//div[@id='rate']");
string rate = rateNode.InnerText;
What i am getting is the following error:
Error 1 'HtmlAgilityPack.HtmlWeb' does not contain a definition for 'Load' and no extension method 'Load' accepting a first argument of type 'HtmlAgilityPack.HtmlWeb' could be found (are you missing a using directive or an assembly reference?)
I am using Visual Studio 2010 Express for Windows Phone
Please help.