Hello friend, try this code:
Page.aspx
<asp:table id="Table1" runat="server" borderstyle="Solid" borderwidth="1" width="100px" xmlns:asp="#unknown"></asp:table>
Page.aspx.cs
Label lbl = new Label();
lbl.Text="Hello world";
TableRow tr = new TableRow();
TableCell tc = new TableCell();
tc.Controls.Add(lbl);
tr.Cells.Add(tc);
Table1.Rows.Add(tr);
Let me know in case of any further query.
- DD