码迷,mamicode.com
首页 > Windows程序 > 详细

How to parse HTML page data in Windows Phone

时间:2014-09-16 09:10:30      阅读:234      评论:0      收藏:0      [点我收藏+]

标签:http   io   os   ar   sp   on   c   html   ad   

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

标签:http   io   os   ar   sp   on   c   html   ad   

原文地址:http://www.cnblogs.com/MinieGoGo/p/3974138.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!