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