GridViewRowCollection Constructor (ArrayList)

 

Initializes a new instance of the GridViewRowCollection class using the specified System.Collections.ArrayList object.

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

public GridViewRowCollection(
	ArrayList rows
)

Parameters

rows
Type: System.Collections.ArrayList

An System.Collections.ArrayList object that contains the GridViewRow objects with which to initialize the collection.

Use this constructor to initialize a new instance of the GridViewRowCollection class using the specified System.Collections.ArrayList object. The System.Collections.ArrayList object should contain the GridViewRow objects with which to populate the collection.

.NET Framework
Available since 2.0
Return to top
Show: