Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataTable constraint
Message
From
24/08/2009 16:40:52
 
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB 8.0
Miscellaneous
Thread ID:
01420288
Message ID:
01420292
Views:
49
Hi, Daniel,

I don't have the exact code in front of me, but it's something like...
dtParent.Constraints.Add(new UniqueConstraint("MyConstraint",
                                new DataColumn[] { MyDataTable.Columns["Key1"],  MyDataTable.Columns["Key2"]}, false));
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform