DeletedRowInaccessibleException
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(strings
); // Protected Constructors protected DeletedRowInaccessibleException(System.Runtime.Serialization.SerializationInfoinfo
, System.Runtime.Serialization.StreamingContextcontext
); }