CancelSelectOnNullParameter Property

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 null.

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

public virtual bool CancelSelectOnNullParameter { get; set; }

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft