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.