How To Dynamically Load TreeView Control
Posted on 2006-06-10
I’m on a tight project deadline, and do not have a lot of time to look at a Web llink. I’m using ASP.NET 2005 with VB.NET. I need to dynamically load a TreeView control with data from two tables. My parent table contains the years as follows:
My child table contains the Year and Month as follows:
The two tables are joined by year.
My TreeView control needs to look as follows:
Can someone provide me with code on how to do this?