ListViewInsertEventArgs.Item Property

Definition

Gets a ListViewItem object that represents the data item to be inserted.

public System.Web.UI.WebControls.ListViewItem Item { get; }

Property Value

The data item to be inserted.

Remarks

Use the Item property to access the item from the ListView control for the data that is being inserted. For example, you can access values from controls in the InsertItemTemplate template that are not data-bound by using the Item property. To do so, use the FindControl method of the ListViewItem object that is referenced by the Item property.

Applies to

Produk Versi
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also