System.Web.UI.WebControls.ObjectDataSourceView.ConvertNullToDBNull Property

Gets or sets a value indicating whether System.Web.UI.WebControls.Parameter values that are passed to an update, insert, or delete operation are automatically converted from null to the DBNull.Value value.

Syntax

public bool ConvertNullToDBNull { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Not converting null to the DBNull.Value value can result in errors at run time. Use the ObjectDataSourceView.ConvertNullToDBNull property to indicate whether the System.Web.UI.WebControls.Parameter values that are passed to an update, insert, or a delete operation are automatically converted from null to the DBNull.Value value. For more information, see ObjectDataSource.ConvertNullToDBNull.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0