HtmlTable ht = new HtmlTable();
HtmlTableRow htr = new HtmlTableRow();
for (int i = 1; i < 7; i++)
{
HtmlTableCell htc = new HtmlTableCell();
htc.InnerText = i.ToString() + "行";
htr.Cells.Add(htc);
}
ht.Rows.Add(htr);
this.Panel1.Controls.Add(ht);