DataTable.TableNewRow 事件

定义

插入新的 DataRow 时发生。Occurs when a new DataRow is inserted.

public:
 event System::Data::DataTableNewRowEventHandler ^ TableNewRow;
public event System.Data.DataTableNewRowEventHandler TableNewRow;
member this.TableNewRow : System.Data.DataTableNewRowEventHandler 
Public Custom Event TableNewRow As DataTableNewRowEventHandler 

注解

使用 NewRow创建新的 DataRow 后激发。Fires after a new DataRow has been created using NewRow. 此事件在调用 NewRow 方法返回之前激发。This event is fired before the invoked NewRow method returns. 新的 DataRow 实例已分离;尚未将其添加到集合中。The new DataRow instance is detached; it has not been added to the collection.

适用于

另请参阅