Export (0) Print
Expand All

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.

System.Object
   System.Exception
      System.SystemException
         System.Data.DataException
            System.Data.DeletedRowInaccessibleException

[Visual Basic]
<Serializable>
Public Class DeletedRowInaccessibleException
   Inherits DataException
[C#]
[Serializable]
public class DeletedRowInaccessibleException : DataException
[C++]
[Serializable]
public __gc class DeletedRowInaccessibleException : public
   DataException
[JScript]
public
   Serializable
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft