Name
NoNullAllowedException
Synopsis
This exception is thrown if you try to insert a
null
value into a column that has
DataColumn.AllowDBNull
set to
false
.
public class NoNullAllowedException : DataException { // Public Constructors public NoNullAllowedException( ); public NoNullAllowedException(strings
); // Protected Constructors protected NoNullAllowedException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
); }
Hierarchy
System.Object
→
System.Exception(System.Runtime.Serialization.ISerializable)
→
System.SystemException
→
DataException
→
NoNullAllowedException
Get ADO.NET in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.