Documentation for this section has not yet been entered.
If the database throws an exception, the SqlDataSourceStatusEventArgs.ExceptionHandled property is set to false and the exception is wrapped by the SqlDataSourceStatusEventArgs.Exception property. If you use an System.Web.UI.WebControls.SqlDataSourceStatusEventHandler, you can check the ObjectDataSourceStatusEventArgs.Exception property and handle the exception. If you handle the exception, set the SqlDataSourceStatusEventArgs.ExceptionHandled property to true or the System.Web.UI.WebControls.SqlDataSource control will throw an exception.