relations between tables

asn1981

Active member
Joined
Mar 15, 2005
Messages
38
Programming Experience
Beginner
This is not so much as a question but for some1 that has been using vb.net much longer than me to explain what is happening/how to use the code below:

' Establish relations between tables to dataset ds.
'
ds.Relations.Add("CustOrd", ds.Tables!Cust.Columns!CustomerID, ds.Tables!Ord.Columns!CustomerID)
ds.Relations.Add("EmpOrd", ds.Tables!Emp.Columns!EmployeeID, ds.Tables!Ord.Columns!EmployeeID)

Basically I just want to know how to do something similar but I want to understand what is being done above
Thanks in advance
 
Back
Top