|
-
August 6th, 2001, 01:06 AM
#1
treeview - helllp
Hi,
Does anyone know how to save and retrieve the structure of a treeview into a database table (say msaccess)
I know that you can say this info to a file, but I need to save it to the database.
Thanks Heaps.
-
August 6th, 2001, 06:47 AM
#2
Re: treeview - helllp
If you had a database table with the following 3 columns:
CREATE TABLE #treeview
(ParentKey CHAR(255),
Key CHAR(255) NOT null,
Value CHAR(255)
)
You could write an iterative routine to read/write to that table from a treeview control.
HTH,
Duncan
-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|