asp.net.ph

InvalidConstraintException Class

System.Data Namespace


Represents the exception that is thrown when incorrectly attempting to create or access a relation.

InvalidConstraintException Class Members

Collapse   Constructors

Visibility Constructor Parameters
public InvalidConstraintException ( )
public InvalidConstraintException ( String s )
public InvalidConstraintException ( String message , Exception innerException )

Remarks

The InvalidConstraintException is thrown when incorrectly invoking the following methods while attempting to create or access a relation.

If you call Add, the InvalidConstraintException may be thrown if a relation cannot be created based on the values supplied in the parameters. If you call Clear, the InvalidConstraintException may be thrown if a ForeignKeyConstraint is enforced on the DataRowCollection. If you call GetParentRow, the InvalidConstraintException may be thrown if the columns have different data types or the tables do not belong to the same DataSet.

See Also

Constraint   Constraints   ConstraintCollection   DataRelation   ForeignKeyConstraint Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph