R
Richard Brown
Ok, I'm looking through the newsgroups and searching the web, but hopefully
someone can point me in the proper direction a little faster....
I have a single SQL table as follows:
Category
CategoryId uniqueidentifer not null
Name varchar(50) not null
ParentId uniqueidentifer null
This table is used to store a category/subcategory tree with an unlimited
number of sub-sub categories, etc.
So, can a typed data set be created that allows for the loading of the data
in a tree-node format?
For example, the top level has NULL in the ParentId field, sub nodes contain
their Parent Id, etc.
If it is possible, how? I was looking through the XML designer and thought
maybe a complex type nested onto itself? But Im not sure
someone can point me in the proper direction a little faster....
I have a single SQL table as follows:
Category
CategoryId uniqueidentifer not null
Name varchar(50) not null
ParentId uniqueidentifer null
This table is used to store a category/subcategory tree with an unlimited
number of sub-sub categories, etc.
So, can a typed data set be created that allows for the loading of the data
in a tree-node format?
For example, the top level has NULL in the ParentId field, sub nodes contain
their Parent Id, etc.
If it is possible, how? I was looking through the XML designer and thought
maybe a complex type nested onto itself? But Im not sure