Udostępnij za pośrednictwem


ErrorAddDataBoundRowEventArgs.Item Property

Gets the new item that the ListObject attempted to add to the data source.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

Syntax

'Declaration
ReadOnly Property Item As Object
    Get
Object Item { get; }

Property Value

Type: System.Object
The item to be added.

Remarks

When the ListObject is bound to a DataTable, the item would be a DataRowView rather than a DataRow.

.NET Framework Security

See Also

Reference

ErrorAddDataBoundRowEventArgs Interface

Microsoft.Office.Tools.Excel Namespace