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(strings); // Protected Constructors protected DeletedRowInaccessibleException(System.Runtime.Serialization.SerializationInfoinfo, System.Runtime.Serialization.StreamingContextcontext); }
Hierarchy
System.Object
→
System.Exception(System.Runtime.Serialization.ISerializable)
→
System.SystemException
→
DataException
→
DeletedRowInaccessibleException
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access