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

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

public:
virtual property bool CancelSelectOnNullParameter {
	bool get ();
	void set (bool value);
}

Property Value

Type: System::Boolean
true if a data retrieval operation is canceled when a parameter contained in the SelectParameters collection evaluated to nullptr; 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