This exception is thrown if you attempt to perform an operation on a row that is not in the DataSet. For example, if you use a method such as DataRow.AcceptChanges( ), DataRow.GetChildRows( ), or DataRow.GetParentRow( ) on a deleted row, this exception results. Another related exception is DeletedRowInaccessibleException.

public class RowNotInTableException : DataException {

// Public Constructors

   public RowNotInTableException( );  

   public RowNotInTableException(string s);  

// Protected Constructors

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

        System.Runtime.Serialization.StreamingContext context);



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

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.