Microsoft
Software
Hardware
Network
Question : How to connect treeview & listview or grid through Access database
Here's my scenario: I want to have a treeview (in my case a DevExpress control since it is data bindable) that would hold a folder-like structure from an Access database table in which I am able to link to a listview or grid that shows only the underlying information within that specific folder in the database in the listview or grid. Interfathom's TaskMerlin,
http://www.taskmerlin.com
, demonstrates what I seek.
So my 2 simple questions are:
1) How to display related info from the database in a listview or grid when a treeview node is clicked?
2) What should my database structure be like in order to accomplish this? Namely, would I need 2 separate tables, e.g. one for "folders" and the other for my actual data to display in the listview or grid?
PS..The numerous Windows Explorer demos floating around unfortunately do not provide me with what I need since my structure is database driven. Also, a simple code sample or mock-up would be great to get me headed in the right direction (Visual Studio 2008/vb.net). Thank you!
Answer : How to connect treeview & listview or grid through Access database
Right. I have managed to develop a sample. DevExpress TreeList is so different to normal TreeView!
You may have to first upgrade the project using DevExpress project converter and then upgrade it to VS2010.
http://www.mediafire.com/?
qgtqjcwzwn
j
Random Solutions
IIF Statement
I have a folder that will have lots of files in them i want to backup *.bak and *.txt files into a zip file using winzip and then name the zip ETC-DD-MM-YYY
access crosstab query question
How to get a formula to calcutate even if one of the fields in it is null
Command Button Help!!
Sanity Check on UDF Modification
Install MS Visual Studio .NET/SQL Server and PHP/MySql on the same computer
CVS No Such Repository error
what is the easy way of hitting a remote server on its availability every 5 secs and start up a batch file when it comes down
Export Query to Excel from Access 2007