System.Web.UI.WebControls Namespace SqlDataSource Class
.NET Framework version 2.0
Sets or retrieves a value indicating whether a data retrieval operation is canceled when any parameter that is contained in the SelectParameters collection evaluates to a null reference ( Nothing in Visual Basic).
Inline |
<asp:SqlDataSource cancelselectonnullparameter = boolValue ... > |
Script |
SqlDataSource.CancelSelectOnNullParameter [ = boolValue ] |
boolValue |
true if a data retrieval operation is canceled when a parameter contained in the SelectParameters collection evaluated to a null reference ( Nothing in Visual Basic); otherwise, false. Default value is true. |
The property is read/write with no default value.
The value of the CancelSelectOnNullParameter property is stored in view state.