title: How to add Html table dyanamically from C# code in asp.net?
body: <p>I have to add the row in table by validating some condition in page load event of an <code>.aspx.cs</code> page.</p>
  
  <p>Currently, I have this table in my <code>.aspx</code>:</p>
  
  <pre class="lang-html prettyprint-override"><code>&lt;table id="Bodyheight" width="100%" cellpadding="0" cellspacing="0"&gt;
  &lt;tr&gt;
      &lt;td class="leftNav"&gt;
          &lt;table cellpadding="0" cellspacing="0"&gt;
  &lt;tr&gt;
      &lt;td style="height: 2px;"&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td id="dis"&gt;
          &lt;a id="DisclaimerManager" href="#" onfocus="blur()" onclick="iframeSrcChange('Home/Disclaimer.aspx')"&gt;
          Report Disclaimer&lt;/a&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  &lt;tr&gt;
      &lt;td id="sub"&gt;
          &lt;a id="SubmitionManager" href="#" onfocus="blur()" onclick="iframeSrcChange('Home/Submit.aspx')"&gt;
          Report Submitted&lt;/a&gt;
      &lt;/td&gt;
  &lt;/tr&gt;
  .....
  </code></pre>
  
  <p>How can I do this from C#??</p>