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
Get
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.