Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

ASP.NET TableCell ColumnSpan Property

ASP.NET TableCell ColumnSpan Property


TableCell control TableCell control


Definition and Usage

The ColumnSpan property is used to set or return the number of columns spanned by a TableCell in the Table control.

Syntax

Some content

 

property Description
num Specifies the number of columns spanned by the TableCell.

Example

The following example sets the ColumnSpan property to "2":

asp:TableRow

Some Content

asp:TableRow

asp:TableCell

Some Content

asp:TableCell

Some Content

Demo Example »


TableCell control TableCell control