DataTable dt
foreach(DataRow dr in dt.Rows)
{
TableRow tr = new TableRow();
tr.ID = "tr" + count;
tc.ID = "tc" + tablecellid;
lbl.ID = "ID" + tablecellid;
lbl.Text = dr["TEXT"].ToString();
tablecellid = tablecellid + 1;
tc.ID = "tc" + tablecellid;
lbl.ID = "ID" + tablecellid;
lbl.Text = dr["DESC"].ToString();
count = count + 1;
tablecellid = tablecellid + 1;
tc.Controls.Add(lbl);
tr.Cells.Add(tc);
Table1.Rows.Add(tr);
}