Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB Databases
|
Pro VB Databases Advanced-level VB coding questions specific to using VB with databases. Beginning-level questions or issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB Databases 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 June 19th, 2004, 06:31 AM
Registered User
 
Join Date: Jun 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Reflecting a table's structure in a TreeView

Hi!
I have a table for departments containing the following fields:
1) DeptID
2) DeptName
3) ParentDept

Now what I want is to reflect the parent-child relationship of the departments in a TreeView control using ADO, but can't understand how to do it. Any help (and sample code, if possible) would be much appreciated.

Thank you.

Shakeel :)






Similar Threads
Thread Thread Starter Forum Replies Last Post
Reflecting changes in Excel Worksheet...???? hunk1985 General .NET 0 September 12th, 2007 06:29 AM
Gray Outline of Table's Cells phungleon Dreamweaver (all versions) 1 June 26th, 2007 01:57 AM
Reflecting within a class jaucourt Beginning PHP 2 July 9th, 2005 02:25 PM
Refer To Access Table's Column Name ritag Access ASP 3 June 24th, 2004 09:30 AM





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