adding rows to html table from server side asp.net
<p>I have this html code</p>

<pre><code>&lt;table id="rounded" runat=server style="position:relative;left:-45px;"  &gt;
    &lt;thead&gt;
        &lt;tr&gt;
            &lt;th scope="col" class="rounded-company"&gt;status&lt;/th&gt;
        &lt;th scope="col" class="rounded-q1"&gt;date&lt;/th&gt;

            &lt;th scope="col" class="rounded-q1"&gt;price&lt;/th&gt;
             &lt;th scope="col" class="rounded-q1"&gt;quantity&lt;/th&gt;
              &lt;th scope="col" class="rounded-q1"&gt;option1&lt;/th&gt;
               &lt;th scope="col" class="rounded-q1"&gt;option2&lt;/th&gt;
                &lt;th scope="col" class="rounded-q1"&gt;paync&lt;/th&gt;
                 &lt;th scope="col" class="rounded-q1"&gt;product_id&lt;/th&gt;

                   &lt;th scope="col" class="rounded-q1"&gt;sell number&lt;/th&gt;
                   &lt;th scope="col" class="rounded-q4"&gt; name&lt;/th&gt;


        &lt;/tr&gt;
    &lt;/thead&gt;
        &lt;tfoot&gt;
        &lt;tr&gt;
            &lt;td colspan="9" class="rounded-foot-left" dir=rtl &gt;&lt;em&gt;&lt;/em&gt;&lt;/td&gt;
            &lt;td class="rounded-foot-right"&gt;&amp;nbsp;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/tfoot&gt;

&lt;/table&gt;
</code></pre>

<p>In serer side I want to add this string to the table rows</p>

<pre><code>rows="&lt;tr&gt;&lt;td&gt;" &amp; reader4.GetValue(9) &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; reader4.GetValue(8) &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; reader4.GetValue(7) &amp; "&lt;/td&gt;" &amp; _
                         "&lt;td&gt;" &amp; reader4.GetValue(3) &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; tempoption &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; tempoption2 &amp; "&lt;/td&gt;" &amp; _
                          "&lt;td&gt;" &amp; reader4.GetValue(6) &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; reader4.GetValue(2) &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; reader4.GetValue(1) &amp; "&lt;/td&gt;" &amp; "&lt;td&gt;" &amp; reader4.GetValue(0) &amp; "&lt;/td&gt;" &amp; "&lt;/tr&gt;"
</code></pre>

<p>In javascript it very sipmle</p>

<pre><code>  $("#rounded").html( $("#rounded").html()+str);
</code></pre>

<p>but asp.net doesn't support InnerHTML for tables</p>

<p>What is the right approach for this task?</p>

<p>Thanks for any help</p>
