|
-
Sep 5th, 2005, 07:38 AM
#1
Thread Starter
Hyperactive Member
Hook a treeview component to a database!
Hello,
Any knows how to hook a treeview control to a microsoft access database? Thanx in advance !
-
Sep 5th, 2005, 08:58 AM
#2
Addicted Member
Re: Hook a treeview component to a database!
Hi,
The treeview control isn't a data aware control so simply create a recordset and populate it manually. I see that you already know how to use ADO. <g>
Have a good one!
BK
-
Sep 5th, 2005, 09:15 AM
#3
Re: Hook a treeview component to a database!
 Originally Posted by ielashi
Hello,
Any knows how to hook a treeview control to a microsoft access database? Thanx in advance  !
Can you post your sql code and I should be able to help you out.
Regards,
Mark
Please remember to rate posts! Rate any post you find helpful. Use the link to the left - "Rate this Post". Please use [highlight='vb'] your code goes in here [/highlight] tags when posting code. When a question you asked has been resolved, please go to the top of the original post and click "Thread Tools" then select "Mark Thread Resolved."
-
Sep 5th, 2005, 11:43 AM
#4
Re: Hook a treeview component to a database!
I have a sample app on my site that populates a treeview from an ADO recordset. The sample shows how to do drag & drop with scrolling with a treeview, but you can pick out what you need from the sample app.
http://www.thevbprogrammer.com/index...ter=13&Topic=2
"It's cold gin time again ..."
Check out my website here.
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
|