LinqDataSourceView::Updating Event

 

Occurs before an update operation.

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

public:
event EventHandler<LinqDataSourceUpdateEventArgs^>^ Updating {
	void add(EventHandler<LinqDataSourceUpdateEventArgs^>^ value);
	void remove(EventHandler<LinqDataSourceUpdateEventArgs^>^ value);
}

Handle the Updating event to validate the object to be updated, to change a value before the update operation, or to cancel the update operation. For more information, see the LinqDataSource::Updating event.

.NET Framework
Available since 3.5
Return to top
Show: