DataGridItemEventArgs.Item Property

 

Gets the referenced item in the DataGrid control when the event is raised.

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

member Item : DataGridItem with get

Property Value

Type: System.Web.UI.WebControls.DataGridItem

The referenced item in the DataGrid control when the event is raised.

Use this property to programmatically access the item referenced in the DataGrid control when the event is raised.

The following code example demonstrates how to use the Item property to display the order in which the items in the DataGrid control are created.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: