My program uses HtmlAgilityPack and grabs a HTML web page, stores it in a variable and I\'m trying to get from the HTML two tables which are under specific Div Class tags (board
Try:
foreach (HtmlNode table in htmlDoc.DocumentNode.SelectNodes("//div[@class='boardcontainer']/table"))
It's an XPath expression matching the attribute. See here for more info:
http://www.exampledepot.com/egs/org.w3c.dom/xpath_getelembyattr.html