Represents the exception that is thrown when attempting to access a row in a table that has no primary key.
For a list of all members of this type, see MissingPrimaryKeyException Members.
[Visual Basic] <Serializable> Public Class MissingPrimaryKeyException Inherits DataException [C#] [Serializable] public class MissingPrimaryKeyException : DataException [C++] [Serializable] public __gc class MissingPrimaryKeyException : public DataException [JScript] public Serializable class MissingPrimaryKeyException extends DataException
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
The MissingPrimaryKeyException is thrown when invoking the following methods to access a row in a table that has no primary key.
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)