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

  • Thread starter Thread starter vijay
  • Start date Start date
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
 
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
 
Back
Top