I need to create a dynamic treeview of 4 levels inside... information is
taken from access database
First node is the databasename
Second node is the Projectname
Third node are the projectdetails
Fird node are the contactdetails
Looks like :
+ Italy
+Luxury Appartments
+Simple Appartments
+Studios
+ Name: "Lacabana"
+ Street: " Via Carlo 23 "
+ Phone: "0039 6 54 654515"
The programs reads the information from the database... : imagine there are
500 records for the Luxury Appartments, 700 Simple Appartements and 10
Studio's. Which "For each...." program can solve my problem?
thx
Carlo
Hi Ternoey,
> I need to create a dynamic treeview of 4 levels inside... information is
> taken from access database
[quoted text clipped - 16 lines]
> 500 records for the Luxury Appartments, 700 Simple Appartements and 10
> Studio's. Which "For each...." program can solve my problem?
Sort the dataset by dbname, projname, projdetails, contactdetails. Then step
through each record, remembering the current dbname, projname, projdetails.
Whenever one of those changes from one record to the other your algorithm
will have to create a new node (depending on which hierarchy level has
changed).
Beside that your question is not really related to VS.Net, rather ask them
in a programming newsgroup.
CU Christoph