Quantcast
Channel: htmlagilitypack Forum Rss Feed
Viewing all articles
Browse latest Browse all 655

New Post: SelectNodes return

$
0
0

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.

 


Viewing all articles
Browse latest Browse all 655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>