System.Windows.Forms.DataGridBoolColumn.NullValue Property

Gets or sets the actual value used when setting the value of the column to DBNull.Value.

Syntax

[System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter))]
public object NullValue { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can also specify what text will be displayed by setting the DataGridColumnStyle.NullText property.

The DataGridBoolColumn.AllowNull property must be set to true to enter null values.

The DataGridBoolColumn.FalseValue, DataGridBoolColumn.NullValue, and DataGridBoolColumn.TrueValue properties determine the actual values pushed into the data source.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0