This exception occurs only if you call the DataRow.EndEdit( ) method within the DataTable.RowChanging event handler. (The row is automatically placed into edit mode before the DataTable.RowChanging event is called, and the edit is committed at the end of the DataTable.RowChanging event.)

public class InRowChangingEventException : DataException {

// Public Constructors

   public InRowChangingEventException( );  

   public InRowChangingEventException(string s);  

// Protected Constructors

   protected InRowChangingEventException(System.Runtime.Serialization.SerializationInfo info,

        System.Runtime.Serialization.StreamingContext context);



System.Object System.Exception(System.Runtime.Serialization.ISerializable) System.SystemException DataException InRowChangingEventException

Get ADO.NET in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.