Skip to main content

LinqServerModeDataSource Events

A data source that can be associated with any queryable source.
Name Description
DataBinding Occurs when the server control binds to a data source. Inherited from Control.
Deleting Occurs before a delete operation.
Disposed Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. Inherited from Control.
ExceptionThrown Enables you to manually handle the database exception.
InconsistencyDetected Enables you to manually handle the inconsistency detected during an operation on a data source.
Init Occurs when the server control is initialized, which is the first step in its lifecycle. Inherited from Control.
Inserting Occurs before an insert operation.
Load Occurs when the server control is loaded into the Page object. Inherited from Control.
PreRender Occurs after the Control object is loaded but prior to rendering. Inherited from Control.
Selecting Enables you to provide a custom data source.
IDataSource.DataSourceChanged Occurs when a data source control has changed in a way that affects data-bound controls. Inherited from DataSourceControl.
Unload Occurs when the server control is unloaded from memory. Inherited from Control.
Updating Occurs before an update operation.
See Also