asp.net.ph

TableRowCollection.AddRange Method ( TableRow )

System.Web.UI.WebControls Namespace   TableRowCollection Class


Adds a list of rows to a Table.

[ VB ]
Overloads Public Sub AddRange ( _
   ByVal rows ( ) As TableRow _
)

[ C# ]
public void AddRange (
   TableRow [ ] rows
);

[ C++ ]
public: void AddRange (
   TableRow* rows [ ] 
);

[ JScript ]
public function AddRange (
   rows : TableRow [ ] 
);

Parameters

rows
An array that contains the TableRow objects to add to the collection.

Remarks

Use the AddRange method to append multiple TableRow objects to the collection in a single step.

This method is commonly used when programmatically constructing a Table control. To construct a table, first create an array of TableRow objects that 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.

See Also

TableRowCollection Members   Rows.Add   Rows.AddAt   Rows.Remove   Rows.RemoveAt   Rows.Clear Skip Navigation Links




Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note