HtmlTableCellCollection.Add Method
.NET Framework 3.0
Appends the specified HtmlTableCell object to the end of the HtmlTableCellCollection collection.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
Use this method to add the specified HtmlTableCell object to the end of an HtmlTableCellCollection collection. If you want to insert an HtmlTableCell object in a specified location in the collection, use the Insert method.
The following code example demonstrates how to use the Add method to append a cell of a table, represented by an HtmlTableCell object, to the end of an HtmlTableCellCollection collection. Notice that the Cells property of a row represented by an HtmlTableRow object is the HtmlTableCellCollection collection.
Community Additions
ADD
Show: