Export (0) Print
Expand All

SqlDataSource.CancelSelectOnNullParameter Property

Gets or sets a value indicating whether a data retrieval operation is canceled when any parameter that is contained in the SelectParameters collection evaluates to Nothing.

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

'Declaration
Public Overridable Property CancelSelectOnNullParameter As Boolean

Property Value

Type: System.Boolean
true if a data retrieval operation is canceled when a parameter contained in the SelectParameters collection evaluated to Nothing; otherwise, false. The default is true.

The value of the CancelSelectOnNullParameter property is stored in view state.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft