相关文章推荐
果断的橡皮擦  ·  Python ...·  1 年前    · 
沉着的米饭  ·  Transaction ...·  1 年前    · 

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge
public ref class NoNullAllowedException : System::Data::DataException
public class NoNullAllowedException : System.Data.DataException
[System.Serializable]
public class NoNullAllowedException : System.Data.DataException
type NoNullAllowedException = class
    inherit DataException
[<System.Serializable>]
type NoNullAllowedException = class
    inherit DataException
Public Class NoNullAllowedException
Inherits DataException
Inheritance
NoNullAllowedException

Remarks

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

  • DataRowCollection.Add

  • DataRow.EndEdit

  • DataRow.ItemArray

  • DataTable.LoadDataRow

    Gets a collection of key/value pairs that provide additional user-defined information about the exception.

    (Inherited from Exception )

    When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions.

    (Inherited from Exception ) Obsolete.

    When overridden in a derived class, sets the SerializationInfo with information about the exception.

    (Inherited from Exception ) Obsolete.

    Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception.

    (Inherited from Exception ) Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see: https://aka.ms/ContentUserFeedback .

    Submit and view feedback for

    This product
  •