asp.net.ph

SqlDataSource.CancelSelectOnNullParameter Property

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

Syntax


Inline <asp:SqlDataSource cancelselectonnullparameter = boolValue ... >
Script SqlDataSource.CancelSelectOnNullParameter [ = boolValue ]

Property Value


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.

Remarks

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

Skip Navigation Links



Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph