title: Getting Data in vb.net from dynamic htmlTable
body: <p>I have a html table that I'm running at the server level. However, I'm having trouble accessing the data that it is being populated with.</p>
  
  <p>I'm populating the table using javascript but I need to access the data using vb.net.</p>
  
  <p>I'm using jquery to get the information to the page by using the <code>.html</code> method.</p>
  
  <p>Here is my javascript,</p>
  
  <pre><code>function ShowProj(strId, qno,ar) {
          $('#hiddenQno').val(qno);
          $('#qnoLbl').val(qno);
          var output = '';
          output = "&lt;tr&gt;&lt;th&gt;Product&lt;/th&gt;";
          output += "&lt;th&gt;Bond&lt;/th&gt;";
          output += "&lt;th&gt;Cut&lt;/th&gt;";
          output += "&lt;th&gt;Pack&lt;/th&gt;";
          output += "&lt;th&gt;Delivery date&lt;/th&gt;&lt;/tr&gt;";
          for (i = 0; i &lt; ar.length; i++) {
              output += "&lt;tr&gt;";
              output += "&lt;td style='width: 40%;'&gt;" + ar[i][0] + "&lt;/td&gt;";
              output += "&lt;td style='width: 10%; text-align: center;'&gt;&lt;input type='checkbox' " + (ar[i][1] == 1 ? 'checked' : '') + " /&gt;&lt;/td&gt;";
              output += "&lt;td style='width: 10%; text-align: center;'&gt;&lt;input type='checkbox' " + (ar[i][2] == 1 ? 'checked' : '') + " /&gt;&lt;/td&gt;";
              output += "&lt;td style='width: 10%; text-align: center;'&gt;&lt;input type='checkbox' " + (ar[i][3] == 1 ? 'checked' : '') + " /&gt;&lt;/td&gt;";
              output += "&lt;td style='width: 30%;'&gt;&lt;input type='text' value='" + ar[i][4] + "'/&gt;&lt;input type='hidden' value='" + ar[i][5] + "' /&gt;&lt;/td&gt;";
              output += "&lt;/tr&gt;"
          }
          $('#projGrid').html(output);
      }
  </code></pre>
  
  <p>I am passing the information from vb.net using an `ArrayList.</p>
  
  <p>Here is my html,</p>
  
  <pre><code>&lt;div class="modalPopup" id="projPopup" style="width: 40%;"&gt;
                  &lt;table style="width:100%;"&gt;
                      &lt;tr&gt;
                          &lt;td colspan="2"&gt;
                              &lt;table id="projGrid" runat="server" style="width: 100%;border: 1px solid black; font-size: 16;"&gt;
                              &lt;/table&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
  
                      &lt;tr&gt;
                          &lt;td&gt;
                              &amp;nbsp;&lt;/td&gt;
                          &lt;td&gt;
                              &amp;nbsp;&lt;/td&gt;
                      &lt;/tr&gt;
                      &lt;tr&gt;
                          &lt;td&gt;
                              &lt;asp:Button ID="projOk" runat="server" Text="Update" /&gt;&lt;/td&gt;
                          &lt;td&gt;
                          &lt;asp:Button ID="projCncl" runat="server" Text="Cancel" /&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>And here is my vb.net.</p>
  
  <pre><code>For Each row As HtmlTableRow In projGrid.Rows
              'Dim chkBond As HtmlInputCheckBox = row.Cells(1).Controls(0)
              Dim str As String
              str = row.Cells(0).InnerText
          Next
  </code></pre>