title: Html Agility Pack - loop through rows and columns
body: <p>How can I loop through table and row that have an attribute id or name to get inner text in deep down in each td cell? I work on asp.net, c#, and the newest html agility package.  Please guide.  Thank you.</p>
  
  <p>An html file have several tables.  One of them has an attribute id=main-part.  In that identified table, there are many rows.  Some of those rows have same attribute name=display.  In those named rows, there are many columns which I have to extract text from.  Something like this:</p>
  
  <pre><code>&lt;body&gt;
  &lt;table&gt;
  ...
  &lt;/table&gt;
  &lt;table&gt;
  ...
  &lt;/table&gt;
  
  &lt;table id="main-part"&gt;
     &lt;tr&gt;
       &lt;td&gt;&lt;/td&gt;
       ...
     &lt;/tr&gt;
     &lt;tr&gt;
       &lt;td&gt;&lt;/td&gt;
       ...
     &lt;/tr&gt;
     &lt;tr name="display"&gt;
       &lt;td&gt;Jan&lt;/td&gt;
       &lt;td&gt;Feb&lt;/td&gt;
       &lt;td&gt;Mar&lt;/td&gt;
       ...
     &lt;/tr&gt;
        &lt;tr name="display"&gt;
       &lt;td&gt;Apr&lt;/td&gt;
       &lt;td&gt;May&lt;/td&gt;
       &lt;td&gt;June&lt;/td&gt;
       ...
     &lt;/tr&gt;
        &lt;tr name="display"&gt;
       &lt;td&gt;Jul&lt;/td&gt;
       &lt;td&gt;Aug&lt;/td&gt;
       &lt;td&gt;Sep&lt;/td&gt;
       ...
     &lt;/tr&gt;
     &lt;tr&gt;
       &lt;td&gt;&lt;/td&gt;
       ...
     &lt;/tr&gt;
     &lt;tr name="display"&gt;
       &lt;td&gt;Oct&lt;/td&gt;
       &lt;td&gt;Nov&lt;/td&gt;
       &lt;td&gt;Dec&lt;/td&gt;
       ...
     &lt;/tr&gt;
     &lt;tr&gt;
       &lt;td&gt;&lt;/td&gt;
       ...
     &lt;/tr&gt;
  &lt;/table&gt;
  &lt;table&gt;
  ...
  &lt;/table&gt;
  &lt;/body&gt;
  </code></pre>