TreeView Control and DataRelations

P

Phil Townsend

I have a dataset that contains multiple tables, each with the same
structure, and each tied to the next through a datarelation object. The
number of tables in the dataset can fluctuate. I am stuck on figuring
out the best way to use this structure to populate a tree view control.
I've experimented with recursive calls to the same method without much
success, though I've not abandoned this idea. Any suggestions?

Data structure:
column["pageID"]
column["pageParentID"]
column["pageTitle"]

Data relation:
parent column["pageID"]
child column["pageParentID"]

child rows can also be parent rows...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top