HtmlTable htb=new HtmlTable();
htb.Border=3;
htb.BorderColor="red";
HtmlTableRow htr=new HtmlTableRow();
htb.Rows.Add(htr);
HtmlTableCell htc=new HtmlTableCell();
htr.Cells.Add(htc); Table tb=new Table();
tb.BorderWidth=1;
tb.BackColor=Color.Blue;
TableRow tr=new TableRow();
tb.Rows.Add(tr);
TableCell tc=new TableCell();
tc.Text="hello";
tr.Cells.Add(tc); htc.Controls.Add(tb); this.Controls.Add(htb);
htb.Border=3;
htb.BorderColor="red";
HtmlTableRow htr=new HtmlTableRow();
htb.Rows.Add(htr);
HtmlTableCell htc=new HtmlTableCell();
htr.Cells.Add(htc); Table tb=new Table();
tb.BorderWidth=1;
tb.BackColor=Color.Blue;
TableRow tr=new TableRow();
tb.Rows.Add(tr);
TableCell tc=new TableCell();
tc.Text="hello";
tr.Cells.Add(tc); htc.Controls.Add(tb); this.Controls.Add(htb);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货