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



Previous page Back to top Next page

Check out related books at Amazon

© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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