how to build treeview and connect to database and retrive the fields to the tree

V

vijay

hi,

This is vijay kumar.p. Iam facing a problem regarding the
treeview control. I am able to create a structure of the
tree using the Node property from property pane, but how
to build a database connection using MSaccess to get one
of the field(say nodeid) of the database to the parent or
to the child node of the treeview control. plz help out to
build the code for this. will b greatful if someone could
really help me or provide code for this.

regards,

vijay kumar.p
 
V

vijaya kumar.P

hi david wire,

Thanks for tht information u have given. i will more greatful if u can
provide me the code for maintaing the parent and child relationship
when we have the dependancy of the nodes. plz chk with the problem as
soon as possible and respond. we have the data in the database
(MSAccess).

relationship is like this:

nodeid Dependson

1 - 2
1 - 3
1 - 5
2 - 4
2 - 3
5 - 4
in the similar way there are many plz help to get the parent n child
veiw in the tree retreiving the data from the database randomly.


regards,
vijay.p
 

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,756
Messages
2,569,534
Members
45,007
Latest member
OrderFitnessKetoCapsules

Latest Threads

Top