Name

DeletedRowInaccessibleException

Synopsis

This exception occurs when you attempt to retrieve data from a DataRow that has been deleted. Remember, deleted rows are not removed until you commit changes back to the data source. To avoid a DeletedRowInaccessibleException, check the DataRow.RowState property before attempting to retrieve data when iterating through all the rows in a table.

public class DeletedRowInaccessibleException : DataException {

// Public Constructors

   public DeletedRowInaccessibleException( );  

   public DeletedRowInaccessibleException(string s);  

// Protected Constructors

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

        System.Runtime.Serialization.StreamingContext context);

}

Hierarchy

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

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.