I have an html page which contains a table and i want to parse that table in C# windows form
http://www.mufap.com.pk/payout-report.php?tab=01
Do you mean something like this ?
foreach (HtmlNode table in doc.DocumentNode.SelectNodes("//table")) { ///This is the table. foreach (HtmlNode row in table.SelectNodes("tr")) { ///This is the row. foreach (HtmlNode cell in row.SelectNodes("th|td")) { ///This the cell. } } }