DataRelation

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tony Johansson

    #1

    DataRelation

    Hello!

    I can't understand what is this table DataRelation used for.
    I mean as long as you have this DataTable I can't see any point in using
    this DataRelation.

    //Tony


  • =?ISO-8859-1?Q?G=F6ran_Andersson?=

    #2
    Re: DataRelation

    Tony Johansson wrote:
    Hello!
    >
    I can't understand what is this table DataRelation used for.
    I mean as long as you have this DataTable I can't see any point in using
    this DataRelation.
    >
    //Tony
    >
    A DataRelation object is used to specify relations between DataTable
    objects with a DataSet.

    --
    Göran Andersson
    _____
    Göran Anderssons privata hemsida.

    Comment

    • Ignacio Machin ( .NET/ C# MVP )

      #3
      Re: DataRelation

      On Aug 18, 5:35 am, "Tony Johansson" <johansson.ande rs...@telia.com >
      wrote:
      Hello!
      >
      I can't understand what is this table DataRelation used for.
      I mean as long as you have this DataTable I can't see any point in using
      this DataRelation.
      >
      //Tony
      DataRelation is NOT A TABLE. It's a class. It's used to make a
      relationship between columns in two tables.
      DataTable in turn has a collection of DataRelation instances (in the
      same way that it as a collection of DataRow objects) where it manage
      the relationships of its columns with other tables/columns

      Comment

      Working...