Dataviews with 2 tables

Hi, I really need some help with VB.NET

My company has an existing VB app that they want upgraded to vb.net.

The new application will contain a tree view that have nodes like Category 1, Category 2, Category 3 etc
Each category will expand out into some reports


The categorys are stored in table A and the reports in table B

I think to get this working I need to create a Dataview that contains a join of the 2 tables eg

Category 1 Report 1
Category 1 Report 2
Category 2 Report 3
Category 2 Report 4
Category 3 Report 5

Then use that Dataview to programatically populate the TreeView.

Im really stumped tho...Ive found stuff on the web that reckons u cant do this....

Can someone please walk me through this??

Any help would be great thx

bdb12Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

DhaestCommented:
How to populate TreeView control using DataAdapter and DataRelation Objects
http://www.devasp.net/net/articles/display/289.html

Populate treeview from database
http://www.a1vbcode.com/app.asp?ID=2902
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.