Htmltable table=new htmltable();
htmltablerow row=new htmltablerow();
for(i=0;i<9;i++)
{
htmltablecell cell=new htmltablecell();
cell.innertext=i.tostring();
row.cells.add(cell);
}
row.rows.add(row);
this.div1.controls.add(table);
保持初学者的心态!!!