If you have a reference to the table to which you want to add the cells you are able to do this dynamically. A table has got a Rows collection which enables you to add rows and rows has a Cells collection. A small example...
Code:
Table table = new Table();
TableRow row = new TableRow();
TableCell cell = new TableCell();
cell.Controls.Add(new LiteralControl("something"));
table.Rows.Add(row);
row.Cells.Add(cell);
[not tested]
This example shows how to build a table dynamically i C#; it adds a cell to a row, and add that row to the table. If you have a reference to the table on your page you can do the same.
Hope it helps
Jacob.