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

RE: Is it possible to add DataRelation on Individual tables? by MilanB

MilanB
Fri Mar 31 14:02:03 CST 2006

I found that is not possible.
Tables must belong to DataSet

"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