Designer Support

Although ADO.NET provides a great deal of power in a small amount of code, you still may prefer not to do all the hand coding required in the earlier examples. For that reason, VS.NET provides integrated data access directly in the Windows Forms designer. In the Toolbox window there is a Data Tab, as shown in Figure 12.5.

Figure 12.5. Data Toolbox

This Toolbox contains the various kinds of data access objects you'll commonly need. These objects are instances of components, so they don't have UIs of their own. When they're added to a design surface, they cluster along the bottom just like any other component.

Connection Objects ...

Get Windows Forms Programming in Visual Basic .NET 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.