Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > Pro VB.NET 2002/2003
|
Pro VB.NET 2002/2003 For advanced Visual Basic coders working .NET version 2002/2003. Beginning-level questions will be redirected to other forums, including Beginning VB.NET.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2003, 09:37 AM
Authorized User
 
Join Date: Aug 2003
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default How do you store and retrieve a hierachy

Hello,

I feel like an idiot because I don't know how to do this in a clean, slick way. If you can help, I would really appreciate it.

Problem: I have an hierarchy, similar to an organizational chart, of unknow depth,size, etc that I need to store in a collection of some sort that is to be loaded from a table. I have not created a format for the table yet, but it needs to be a table so it can be extensible. I also need to be able to programmatically examine each node.

I need a collection similar to the one used by a treeview. I'm not entirely sure how to create a class like that. Also, I can't figure out how to load the thing (even a treeview) for something that has a varying number or nodes and node depths.

After the thing is loaded, then how the heck do you chase down each branch? I would expect a For each next type recursive call.

If you can help with this I would really appreciate it!

Hubman





Similar Threads
Thread Thread Starter Forum Replies Last Post
Store and Retrieve Images in SQL Database derekl ASP.NET 1.0 and 1.1 Professional 4 December 19th, 2007 03:16 AM
asp, store, retrieve form value from cookies? kumiko Classic ASP Basics 0 November 24th, 2007 12:33 PM
How to store and retrieve formatted strings in db jessi Classic ASP Professional 2 March 9th, 2007 07:27 AM
How to store image in oracle database and retrieve y.suresh JSP Basics 1 February 28th, 2005 07:01 AM
Retrieve and store the images from server URL ccc_storage Classic ASP Professional 13 August 19th, 2004 07:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.