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
Help PHP
SQL Duplicate Records
Sending white space in a variable in resonse.write
transpose rows and columns in Crystal Reports 9
Sharepoint Shared Services administration
Assign the value from an db.OpenRecordset("Select ... statement to a variable
Oracle Decode
C# HttpWebRequest different pages in same site
What system should I get?
SQL Syntax for SELECT TOP 25 PERCENT, SELECT NEXT 35%, SELECT NEXT 15%, etc...