How to add a new table in tablecell... .
Table tblTasks = new Table();
TableRow tr = new TableRow();
tr.Cells.Add(new Table());
something like that
Create TableCell
with your Table and add that cell like below
var cell =new TableCell();
cell.Controls.Add(new Table());
tr.Cells.Add(cell);