A TreeView Display
Another possible record selection method uses a TreeView control. The control contains 26 top-level nodes labeled A, B, C, and so forth. Each top-level node contains the nodes representing the DataSet records. A special top-level node at the end, labeled <New>, holds nodes for records that have just been added.
The ContactsTreeView program shown in Figure 8.14 uses this approach. Click on a TreeView node to select a record. Use the Data menu to add and delete records as in the previous versions of the program.
Figure 8.14. Program ContactsTreeView uses a TreeView control for navigation.
Unfortunately, the TreeView control ...
Get Visual Basic® .NET Database Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.