请问为什么动态渲染ASP.NET表格时设置TableCell的大小没有生效?
例如:
Table table = new Table();
TableRow row = new TableRow();
TableCell cell = new TableCell;
cell.Width = 30;
cell.Height = 30;
row.Cells.Add(cell);
//.... 10 more cells
table.Rows.Add(row);
为什么单元格的大小不变?