Home All Groups Group Topic Archive Search About

Is it possible to add DataRelation on Individual tables?

Author
31 Mar 2006 5:30 PM
MilanB
Hello
I have two tables that do not belong to DataSet. They are individual.
Is it posible to create DataRelation Or ForeignKey in this situation?
I tried but on:

childTable.ParentRelation.Add(dataRelation)

got Null Exception.

Thanks
Milan

Author
31 Mar 2006 8:02 PM
MilanB
I found that is not possible.
Tables must belong to DataSet

Show quote
"MilanB" wrote:

> Hello
> I have two tables that do not belong to DataSet. They are individual.
> Is it posible to create DataRelation Or ForeignKey in this situation?
> I tried but on:
>
> childTable.ParentRelation.Add(dataRelation)
>
> got Null Exception.
>
> Thanks
> Milan

AddThis Social Bookmark Button