Hi,
The HTML Agility Pack (http://
http://htmlagilitypack.codeplex.com/[
^]) is a superb library for scraping web pages.
Once the page is loaded with the pack, you can use XPath queries to grab data - e.g.
\\a\@href
will get all the 'href' attributes of all link tags
\\div[@class='email']
will get the 'div' element that has the class name 'email'
\\div[@id='subject']\td
will get all immediate 'td' children of any div tags that have the id 'subject'.
As you can see being able to extract data from a web page this way is very straightforward - many other mechanisms will have you using nested loops or very complicated recursive functions.