O'Reilly logo

Visual Basic® .NET Database Programming by Rod Stephens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required