System.Data.NoNullAllowedException Class

Represents the exception that is thrown when you try to insert a null value into a column where DataColumn.AllowDBNull is set to false.

See Also: NoNullAllowedException Members

Syntax

public class NoNullAllowedException : DataException

Remarks

The System.Data.NoNullAllowedException is thrown when invoking the following methods or properties when you try to insert a null value into a column where DataColumn.AllowDBNull is set to false.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0