foreach (HtmlAgilityPack.HtmlNode table in doc.DocumentNode.SelectNodes("//div[@class='top_b']")) { Outer: foreach (HtmlNode b in table.SelectNodes("b")) { MessageBox.Show(b.InnerText.ToString()); foreach (HtmlNode p in table.SelectNodes("p")) { MessageBox.Show(p.InnerText.ToString()); foreach (HtmlAgilityPack.HtmlNode class_table in table.SelectNodes("//table[@class='t']")) { MessageBox.Show(class_table.InnerText.ToString()); goto Outer; } } } }
goto
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)