編輯

共用方式為


DataSetFieldSchema.Nullable Property

Definition

Gets a value indicating whether the data field can accept null values.

public:
 property bool Nullable { bool get(); };
public bool Nullable { get; }
member this.Nullable : bool
Public ReadOnly Property Nullable As Boolean

Property Value

true if the data field can accept null values; otherwise, false.

Implements

Remarks

The Nullable property corresponds to the AllowDBNull property of a DataColumn.

Applies to

See also