4. Binding Controls to Data Sources

The previous chapter gave you a quick introduction to data binding in Windows Forms and a quick preview of using the new BindingSource component to provide looser coupling between data sources and data-bound controls. This chapter further explores using binding sources and binding objects, and the numerous examples of binding data to Windows Forms controls will help you learn to conquer even the most challenging data-binding scenario. This chapter covers using the BindingSource component to bind data to controls programmatically. Chapter 5 then shows you how to use the Data Sources window and the Windows Forms designer to automate much of that coding process for common scenarios.

Getting to Know the BindingSource ...

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.