I am trying to parse a simple data table from the following link:
You will get the table, clicking the light green submit image on the lower left. The table id is: HistoryData1_gridHistoryData_DataGrid1
Trying to parse it using htmlagilitypack - using the following code:
HtmlNode dataTable = document.GetElementbyId("HistoryData1_gridHistoryData_DataGrid1");
HtmlNodeCollection dataTableRow = dataTable.SelectNodes("//tbody/tr");
I get a very dirty html
, with 351 <TR>
tags, but the content is not even close to the table content...