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 [ ] );
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.
TableRowCollection Members Rows.Add Rows.AddAt Rows.Remove Rows.RemoveAt Rows.Clear
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph