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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,817
Latest member
AdalbertoT

Latest Threads

Top