DataListCommandEventArgs::Item Property

 

Gets the item containing the command source in the DataList control.

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

public:
property DataListItem^ Item {
	DataListItem^ get();
}

Property Value

Type: System.Web.UI.WebControls::DataListItem^

A DataListItem object that represents the selected item in the DataList control.

Use the Item property to access information about the selected item in the DataList control.

The following example demonstrates how to use the Item property to display information about the selected item in the DataList control.

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

.NET Framework
Available since 1.1
Return to top
Show: