Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / General / July 2004

Tip: Looking for answers? Try searching our database.

Treeview Explorer

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ternoey \(GMX.DE\) - 26 Jul 2004 13:53 GMT
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
Christoph Wienands - 27 Jul 2004 20:58 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.