Export (0) Print
Expand All

HtmlTableRow.HtmlTableCellControlCollection.Add Method

Adds the specified Control object to the collection.

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

public override void Add(
	Control child
)

Parameters

child
Type: System.Web.UI.Control

The Control to add to the collection.

ExceptionCondition
ArgumentException

The added control must be of type HtmlTableCell.

The added control can only be an HtmlTableCell control; otherwise, an ArgumentException exception is thrown.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft