Counting Rows in C# after dynamically adding them with jQuery
<p>I just have a simple ASP Table seen here:</p>

<pre><code>&lt;asp:Table ID="tblCategories" runat="server" CssClass="oneColTable padded-table dataTable"&gt;
    &lt;asp:TableHeaderRow CssClass="tableHeader"&gt;
        &lt;asp:TableHeaderCell&gt;Category Name&lt;/asp:TableHeaderCell&gt;
        &lt;asp:TableHeaderCell Width="50"&gt;Delete&lt;/asp:TableHeaderCell&gt;
    &lt;/asp:TableHeaderRow&gt;
&lt;/asp:Table&gt;
</code></pre>

<p>And if the user wants to add an additional row I use the jQuery Clone method to copy and append a new row.</p>

<p>My issue comes when I want to count the rows present on the C# side it always lists 1 Row. The row for the header entry.</p>

<p>How can I correctly grab the accurate row count on the C# (Codebehind) side?</p>

<p>Thanks,</p>

<p>-Seth</p>
