how we make datarealation

Total Post:103

Points:721
 2647  View(s)
Ratings:
Rate this:
how we create DataRelation ?
please give the appropriate syntax with Example
  1. Post:131

    Points:943
    Re: how we make datarealation

    'Create the Data Relationship in VB.NET
    ds.Relations.Add("RelationName",ds.Tables("Employee").Columns("EmployeeID"),
     ds.Tables("EmployeeDetails").Columns("EmployeeID"))
    'ds.Tables("Employees").Columns("EmployeeID") [First table name "Employee"]
    'ds.Tables("EmployeeDetails").Columns("EmployeeID") [Second table name "EmployeeDetails"]


      Modified On Oct-03-2010 04:42:40 AM

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.