5. Generating Bound Controls with the Visual Studio Designer

By now, you are hopefully getting a firm grasp on the code involved for setting up data binding between controls and data sources using BindingSource components or Binding objects as middlemen. However, writing all that code can become tedious and error prone, especially for the more common scenarios. It would be really nice if someone else could write that code and you could just focus on the core logic of your application. Thanks to a number of new designer features in Visual Studio 2005, you will rarely have to write the data-binding code by hand for common scenarios. The Data Sources window combined with the Properties window, Smart Tags, and wizards in the designer let you tell ...

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.