HOW WE MAKE DATAREALATION

Amit Singh

Total Post:103

Points:721
Posted by  Amit Singh
 2172  View(s)
Ratings:
Rate this:
how we create DataRelation ?
please give the appropriate syntax with Example
  1. Uttam Misra

    Post:126

    Points:906
    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!