ADO.NET in a Nutshell

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

Категории