asp.net.ph

DataGridItemCollection Constructor

System.Web.UI.WebControls Namespace   DataGridItemCollection Class


Initializes a new instance of the DataGridItemCollection class.

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

[ C# ]
public DataGridItemCollection (
   ArrayList items
);

[ C++ ]
public: DataGridItemCollection (
   ArrayList* items
);

[ JScript ]
public function DataGridItemCollection (
   items : ArrayList
);

Parameters

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

Remarks

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

Example

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

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

See Also

DataGridItemCollection Members   DataGrid   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