Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Populating Treeview problems

Status
Not open for further replies.

Anesthaesia

Technical User
Aug 30, 2001
126
GB
Hi,

I need to populate a Treeview from a database but am having problems getting my head around it. Any tips would be great... I have no problem getting the data - its only the populating part I am having trouble with.

The data is stored as:
Office
Mgmt
Office\Location
Office\Dept\Accounts
Office\Dept\DTP
Mgmt\Name


And needs to be displayed as:
Office
- Location
- Dept
- Accounts
- DTP
Mgmt
- Name


I have tried a number of things but keep getting varied results with nodes showing up in the wrong location.

I have done a number of searches for examples (Google and this site) but have been unable to find anything helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top