TableRowCollection::AddRange Method (array<TableRow^>^)
.NET Framework (current version)
Appends the TableRow objects from the specified array to the end of the collection.
Assembly: System.Web (in System.Web.dll)
| Exception | Condition |
|---|---|
| ArgumentNullException | The value of the rows parameter is null. |
Use the AddRange method to append the TableRow objects from the specified array to the collection. This method is commonly used when you are constructing a table. To construct a table, first create an array of TableRow objects to represent the rows of the table. Next, use the AddRange method, passing the array as an argument, to add the TableRow objects to the collection.
.NET Framework
Available since 1.1
Available since 1.1
Show: