Partilhar via


BeforeAddDataBoundRowEventArgs.Item Property

Gets the row to be added 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
Object Item { get; }

Property Value

Type: System.Object
The row to be added.

Remarks

Use this argument to get the data that the user entered so that you can provide any additional information or modify the data.

If the data source is a DataTable, then the item is a DataRowView object, not a DataRow object.

This example is for a document-level customization.

.NET Framework Security

See Also

Reference

BeforeAddDataBoundRowEventArgs Interface

Microsoft.Office.Tools.Excel Namespace