2. Working with Typed Data Sets and Table Adapters

To set up data binding in a Windows Forms application, you need a data source. A data source is an in-memory object that is typically a container for a collection of other objects, or it may be a single instance of an object itself. One of the most common and easiest ways to set up data binding is to use data sets (instances of the DataSet class or a derived typed data set class). This chapter briefly introduces what data sets are and how they work as a review for those who have not worked with them. It then dives right into the new features for creating and working with typed data sets in .NET Framework 2.0 to create a data access layer for your application using mostly designer features.

Get Data Binding with Windows Forms 2.0: Programming Smart Client Data Applications with .NET now with O’Reilly online learning.

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