| ||||||||||||||||||||||||||||||||||||||||||||||
DataListItemCollection ClassSystem.Web.UI.WebControls Namespace Represents the collection of Items in a DataList control.
|
||||||||||||||||||||||||||||||||||||||||||||||
| Visibility | Name | Value Type | Accessibility |
|---|---|---|---|
| public | Count | Int32 | [ Get ] |
| public | IsReadOnly | Boolean | [ Get ] |
| public | IsSynchronized | Boolean | [ Get ] |
| public | Item ( Int32 index ) | DataListItem | [ Get ] |
| public | SyncRoot | Object | [ Get ] |
| Visibility | Name | Parameters | Return Type |
|---|---|---|---|
| public | CopyTo | ( Array array , Int32 index ) | Void |
| public | GetEnumerator | ( ) | IEnumerator |
The DataListItemCollection class represents a collection of DataListItem objects, that in turn represent the data items displayed in a DataList control. To programmatically retrieve DataListItem objects from a DataList 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 DataListItemCollection is read-only; as such, it does not provide any methods to add or remove items in the collection.
DataList DataList.Items DataListItem
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