ListViewDataItem.DataItemIndex Property

 

Gets the index of the DataItem in the underlying data source object.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

Public Overrides ReadOnly Property DataItemIndex As Integer

Property Value

Type: System.Int32

The zero-based index of the DataItem in the underlying data source object.

Use the DataItemIndex property to determine the index of the DataItem in the underlying data source object.

.NET Framework
Available since 3.5
Return to top
Show: