How to set the vertical align of a TableCell programmatically

Platform: ASP.NET|Category: Controls

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;