Dim myTableCell As New TableCell()
myTableCell.height="50"
myTableCell.Text="12345678"
TTR.cells.add(myTableCell)
myTableCell.height="50" 这一行出错,说是 :类型“String”的值无法转换为“System.Web.UI.WebControls.Unit”。我要改变单元格的高度该如何做 ?
myTableCell.height="50"
myTableCell.Text="12345678"
TTR.cells.add(myTableCell)
myTableCell.height="50" 这一行出错,说是 :类型“String”的值无法转换为“System.Web.UI.WebControls.Unit”。我要改变单元格的高度该如何做 ?
或
myTableCell.height=System.Web.UI.WebControls.Unit.Pixel(50);
string 类型"50"怎么付值给 Unit 的 height;