SelectNodes return

Topics: Developer Forum, User Forum
Mar 13, 2012 at 5:17 PM

I have te following: 

foreach(HtmlNode link in doc.DocumentNode.SelectNodes("//tbody/tr/td")

 Console.WriteLine(link.InnerText);

It is currently printing all the information on the table from the first "link".
Shouldn't each "link" be a td from the table so I could access them individually?

Thanks for your help.