asp.net.ph

GridViewRowCollection Constructor

System.Web.UI.WebControls Namespace   GridViewRowCollection Class


.NET Framework version 2.0

Initializes a new instance of the GridViewRowCollection class.

[ VB ]
Public Sub New ( _
   ByVal rows As ArrayList _
)

[ C# ]
public GridViewRowCollection (
   ArrayList rows
);

[ C++ ]
public: GridViewRowCollection (
   ArrayList* rows
);

[ JScript ]
public function GridViewRowCollection (
   rows : ArrayList
);

Parameters

rows
An ArrayList object that contains the rows with which to initialize the collection.

Remarks

Use this constructor to initialize a new instance of the GridViewRowCollection class.

Example

The following example demonstrates how to initialize a new instance of the GridViewRowCollection class.

ArrayList myList = new ArrayList ( );
GridViewRowCollection myItems = new GridViewRowCollection ( myList );
  C# VB

See Also

GridViewRowCollection Members   GridView   ArrayList Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 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