DekGenius.com
[ Team LiB ] Previous Section Next Section

DeletedRowInaccessibleException serializable

System.Data (system.data.dll) class

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 figs/U2192.gif System.Exception(System.Runtime.Serialization.ISerializable) figs/U2192.gif System.SystemException figs/U2192.gif DataException figs/U2192.gif DeletedRowInaccessibleException

    [ Team LiB ] Previous Section Next Section