Y
Yvonne.Lebhardt
Hello,
I need to build a treeview in a winforms application. The datasource is
a dataset. I've the following tables
products(prodGUID, name)
categorys(catGUID, name, prodGUID, parentcatGUID)
So a tree might look like this:
rootnode
|
- product 1
- category 1
- category 2
- category 3
- category 4
To build a Tree with products and categorys is no problem. But how do I
handle the reflexive relation of the categorys (done with
parentcatGUID)??
If I set a reflexive Daterelation I get an error like "same table
cannot be a child-table in two cascaded realtions" (translated from
german).
Do you have any example for me
Thanks Yvonne
I need to build a treeview in a winforms application. The datasource is
a dataset. I've the following tables
products(prodGUID, name)
categorys(catGUID, name, prodGUID, parentcatGUID)
So a tree might look like this:
rootnode
|
- product 1
- category 1
- category 2
- category 3
- category 4
To build a Tree with products and categorys is no problem. But how do I
handle the reflexive relation of the categorys (done with
parentcatGUID)??
If I set a reflexive Daterelation I get an error like "same table
cannot be a child-table in two cascaded realtions" (translated from
german).
Do you have any example for me
Thanks Yvonne