Showing data in a Treeview
A Treeview control is used when you have information arranged in a hierarchy like the organizational chart of a company. The Treeview control will show each level in the hierarchy with an icon to drill-down or expand to the next level.
To follow along with this recipe you must have completed the following recipes:
- Deploying a module as a standalone package (from Chapter 5)
- Displaying a Datagrid with filter controls
- Adding web controls to your Toolbox
The Treeview control requires that the employees in the Employee table have been assigned to managers. Here is the data that was used in this recipe:
In this example, ...