PDA

Click to See Complete Forum and Search --> : Treeview & Listview Catalog


Nesha
Dec 30th, 2006, 11:16 AM
Please anybody help me. I've started to make some treeview database catalog and now don't know what to do. If anybody know how to write this code ,please send me.
I want to database loads into treeview with 5 nodes, each to be child node of a previous node. Something like this:
xxxxxxxx
.....yyyyyyyyyyy
..........zzzzzzzzzzzzzzz
...............mmmmmmmmmmmm
....................ooooooooooooooooo

And when i click on the last child node, i want to list of something (for example list of mp3 music) loads from database into a listview.
I am using VB6.
Sorry because my bad english but I hope you will understand.
Please Help Me.

Coool
Feb 12th, 2007, 05:04 AM
Well, if u tell us abt table structure then it would be easier to explain.. I hope u must have childid and parentid for each record in db. If so then add child node to refered parent node.

And on click event of node fill listview.