VB.NET
Dim tbl As New TableCell()
’VerticalAlign is enumeration in System.Web.UI.WebControls namespace
tbl.VerticalAlign = VerticalAlign.Top
C#
TableCell tbl=new TableCell();
//VerticalAlign is enumeration in System.Web.UI.WebControls namespace
tbl.VerticalAlign = VerticalAlign.Top;
Share with