TableCell.RowSpan Property

 

Gets or sets the number of rows in the Table control that the cell spans.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual int RowSpan { get; set; }

Property Value

Type: System.Int32

The number of rows in the rendered table that the cell spans. The default value is 0, which indicates that this property is not set.

Exception Condition
ArgumentOutOfRangeException

The selected value is less than 0.

Use the RowSpan property to specify or determine the number of rows in the rendered table that the cell spans. For example, if you set this property to 2, the cell takes up two rows in the Table control.

.NET Framework
Available since 1.1
Return to top
Show: