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 C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.