How do I access the cell content of a pure html table from asp.net
<p>I have a table:</p>

<pre><code>&lt;table id="trTable" runat="server" clientidmode="Static"&gt;
        &lt;thead&gt;
            &lt;tr&gt;
                &lt;th style="display:none"&gt;
                    ID
                &lt;/th&gt;
                &lt;th style="width: 112px"&gt;
                    Item
                &lt;/th&gt;
                &lt;th style="width: 40px; text-align: left"&gt;
                    Price
                &lt;/th&gt;
                &lt;th style="width: 24px; text-align: center"&gt;
                &lt;/th&gt;
                &lt;th style="width: 26px; text-align: center"&gt;
                    Qty
                &lt;/th&gt;
                &lt;th style="width: 24px; text-align: center"&gt;
                &lt;/th&gt;
                &lt;th style="width: 40px; text-align: right"&gt;
                    Total
                &lt;/th&gt;
            &lt;/tr&gt;
        &lt;/thead&gt;
        &lt;tbody&gt;
        &lt;/tbody&gt;
    &lt;/table&gt;
</code></pre>

<p>and new rows are added to it with jQuery:</p>

<pre><code>var newRow = $("&lt;tr&gt; &lt;td class='drinkID' style='display:none'&gt;" + drinkID + "&lt;/td&gt; &lt;td class='drinkName'&gt;" + dName + "&lt;/td&gt;  &lt;td class='drinkPrice'&gt;" + dPrice + "&lt;/td&gt;  &lt;td style='text-align:center'&gt;&lt;input id='Button' type='button' value='&lt;' class='minusButton' /&gt; &lt;/td&gt;  &lt;td class='drinkQty'&gt;1&lt;/td&gt;  &lt;td style='text-align:center'&gt;&lt;input id='Button' type='button' value='&gt;' class=\"plusButton\" /&gt;&lt;/td&gt;  &lt;td class='drinkTotal'&gt;" + dPrice + "&lt;/td&gt;  &lt;/tr&gt;");
</code></pre>

<p>How do I access the content of the cells using asp.net?</p>

<p>I am using:</p>

<pre><code>foreach (HtmlTableRow row in trTable.Rows)
        {
            Response.Write("RowDetails:" + row.Cells[1].InnerHtml);
        }
</code></pre>

<p>But the response.write just outputs:</p>

<pre><code>RowDetails: Item
</code></pre>

<p>How come it doesn't get the cell contents?</p>
