| ||||||||||||||||||||||||||||||||||||||||||||||
DataGridItemCollection ClassSystem.Web.UI.WebControls Namespace Represents the collection of Items in a DataGrid control.
|
||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Value Type | Accessibility |
|---|---|---|---|
| public | Count | Int32 | [ Get ] |
| public | IsReadOnly | Boolean | [ Get ] |
| public | IsSynchronized | Boolean | [ Get ] |
| public | Item ( Int32 index ) | DataGridItem | [ Get ] |
| public | SyncRoot | Object | [ Get ] |
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| public | CopyTo | ( Array array , Int32 index ) | Void |
| public | GetEnumerator | ( ) | IEnumerator |
The DataGridItemCollection class represents a collection of DataGridItem objects, that in turn represent the data items displayed in a DataGrid control. To programmatically retrieve DataGridItem objects from a DataGrid control, use one of following methods:
The Count property specifies the total number of items in the collection, and is commonly used to determine the upper bound of the collection.
NOTE: The DataGridItemCollection is read-only; as such, it does not provide any methods to add or remove items in the collection.
DataGrid DataGrid.Items DataGridItem
Check out related books at Amazon
© 2000-2008 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 aspxtreme