This documentation is archived and is not being maintained.

DeletedRowInaccessibleException Class

Represents the exception that is thrown when an action is attempted on a DataRow that has been deleted.

For a list of all members of this type, see DeletedRowInaccessibleException Members.


[Visual Basic]
Public Class DeletedRowInaccessibleException
   Inherits DataException
public class DeletedRowInaccessibleException : DataException
public __gc class DeletedRowInaccessibleException : public
class DeletedRowInaccessibleException extends DataException

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


To delete a DataRow, use the DataRow class's Delete method. Once you have deleted a row, any attempts to manipulate it will generate the DeletedRowInaccessibleException.

The DeletedRowInaccessibleException is thrown when using one of the following properties or methods that attempt to get or set the value of a deleted DataRow:

Use the DataRow class's RowState to determine if a row has been deleted.


Namespace: System.Data

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Data (in System.Data.dll)

See Also

DeletedRowInaccessibleException Members | System.Data Namespace | BeginEdit | DataRow | DataRowState | Delete | Item | ItemArray | RowState