This worked well for me. I created the TABLE in markup [MAKE SURE ITS AN ASP:TABLE with the runat server tag].
Then you can manipulate it from code-behind like so:
TableRow tr = new TableRow(); TableCell tc = new TableCell(); Label label2 = new Label(); label2.Text = "LAJLKFJDSLJFLKDF"; tc.Controls.Add(label2); tr.Cells.Add(tc); MyTable.Rows.Add(tr);
Hope this helps!
