共用方式為


BeforeAddDataBoundRowEventArgs.Item Property

Definition

Gets the row to be added to the data source.

public:
 property System::Object ^ Item { System::Object ^ get(); };
public object Item { get; }
member this.Item : obj
Public ReadOnly Property Item As Object

Property Value

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.

Applies to