DataGrid.Items Property
.NET Framework 2.0
Gets a collection of DataGridItem objects that represent the individual items in the DataGrid control.
Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
/** @property */ public DataGridItemCollection get_Items ()
public function get Items () : DataGridItemCollection
Property Value
A DataGridItemCollection that contains a collection of DataGridItem objects representing the individual items in the DataGrid control.Use the Items collection to programmatically control the items in the DataGrid control. The Items collection does not provide any methods to add or remove items to the collection. However, you can control the contents of an item by providing a handler for the ItemCreated event.
Note |
|---|
| Only items bound to the data source are contained in the Items collection. The header, footer, and separator are not included in the collection. |
Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.
Community Additions
ADD
Show:
Note