D
Dan
Hi to all
I have a data set "dsTest" with one table "Sample" having next fields:
ID1 int (primary key)
Name string
ID2 int.
I created a recursive relationship between ID1 and ID2, named "SampleRel".
The problem is the depth of relationship.
This relationship results in next possible binding for my grids:
Sample -|
| - SampleRel -|
|- SampleRel -|
|- . . .
How can I restrict the depth of this relationship to only one "child table"?
Sample -|
| - SampleRel
This is a simplified sample of my problem. In my application table that have
self relation is also in relation with other tables.
When I create an instance of the data set I receive this error:
"An unhandled exception of type 'System.StackOverflowException' occurred in
system.windows.forms.dll"
Thank you !
Dan
I have a data set "dsTest" with one table "Sample" having next fields:
ID1 int (primary key)
Name string
ID2 int.
I created a recursive relationship between ID1 and ID2, named "SampleRel".
The problem is the depth of relationship.
This relationship results in next possible binding for my grids:
Sample -|
| - SampleRel -|
|- SampleRel -|
|- . . .
How can I restrict the depth of this relationship to only one "child table"?
Sample -|
| - SampleRel
This is a simplified sample of my problem. In my application table that have
self relation is also in relation with other tables.
When I create an instance of the data set I receive this error:
"An unhandled exception of type 'System.StackOverflowException' occurred in
system.windows.forms.dll"
Thank you !
Dan