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;

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.