SqlDataSource::Updated Event


Occurs when an update operation has completed.

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

event SqlDataSourceStatusEventHandler^ Updated {
	void add(SqlDataSourceStatusEventHandler^ value);
	void remove(SqlDataSourceStatusEventHandler^ value);

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