title: c# create thead and tbody
body: <p>Can anyone tell me how to dynamically create thead tbody tags in my c# code?  </p>
  
  <pre><code>private void MakeTable()
  {
      Table tb = new Table();
      TableRow tr = new TableRow();
      TableCell td = new TableCell();
      td.Text="hello world";
      tr.Cells.Add(td);
      tb.Rows.Add(tr);
  }
  </code></pre>
  
  <p>Thanks</p>