asp.net.ph

Constraint.Table Property

System.Data Namespace   Constraint Class


Returns the DataTable to which the constraint applies.

Syntax


Script [ DataTable variable = ] Constraint.Table

Property Value


variable A DataTable to which the constraint applies.

The property is read only with no default value.

Example

The following example returns the DataTable of a Constraint.

private void GetDataTable ( UniqueConstraint myConstraint ) {
   DataTable myTable = myConstraint.Table;
   Response.Write ( myTable.TableName );
}
  C# VB

See Also

Constraint Members 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