ObjectDataSource.Inserted 事件

定义

Insert() 操作完成时发生。Occurs when an Insert() operation has completed.

public:
 event System::Web::UI::WebControls::ObjectDataSourceStatusEventHandler ^ Inserted;
public event System.Web.UI.WebControls.ObjectDataSourceStatusEventHandler Inserted;
member this.Inserted : System.Web.UI.WebControls.ObjectDataSourceStatusEventHandler 
Public Custom Event Inserted As ObjectDataSourceStatusEventHandler 

注解

处理事件以检查返回值或输出参数的值, 或确定Insert在操作完成后是否引发了异常。 InsertedHandle the Inserted event to examine the values of a return value or output parameters, or to determine whether an exception was thrown after an Insert operation has completed. 可从与事件关联的ObjectDataSourceStatusEventArgs对象中获取返回值、输出参数和异常处理属性。The return value, output parameters, and exception handling properties are available from the ObjectDataSourceStatusEventArgs object that is associated with the event.

有关如何处理事件的详细信息, 请参阅处理和引发事件For more information about how to handle events, see Handling and Raising Events.

适用于

另请参阅