How to parse HTML page data in Windows Phone

1. Navigate to page

WebBrowser control

browser.Navigate(new Uri("http://www.xxxx.com"));

2. Understand navigation completed and content loaded

WebBrowser.Navigation Event

WebBrowser.LoadCompleted Event

WebBrowser.NavigationFailedEvent

3. Get HTML Source

string html = browser.SaveToString();

4. Parse HTML 

Excellent HTML Agility Pack

How to parse HTML page data in Windows Phone

上一篇:ASP.NET Web API Model-ModelMetadata


下一篇:算法笔试模拟题精解之“期末考试”