If you create the table like this:
<asp:Table ID="MyTable" runat="server"></asp:Table>
then you can add rows and/or cells like this:
TableRow tr = new TableRow();
TableCell td = new TableCell();
tr.Controls.Add(td);
MyTable.Controls.Add(tr);
Tara