Updated Event
Collapse the table of content
Expand the table of content

SqlDataSource.Updated Event

 

Occurs when an update operation has completed.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

member Updated : IEvent<SqlDataSourceStatusEventHandler,
    SqlDataSourceStatusEventArgs>

Handle the Updated event to examine the values of output parameters after an update operation has completed. The output parameters are available from the SqlDataSourceStatusEventArgs object that is associated with the event.

For more information about handling events, see NIB: Consuming Events.

The following code example demonstrates how to display and update data that is retrieved from an ODBC database in a GridView control. After a record is successfully updated, the Updated event is handled by an event handler to perform a post-processing step where an e-mail notification is sent.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft