DataRelation

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

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
 
Tony said:
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.
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top