Summary


Data-bound controls are definitely one of the greatest additions to GUI applications. In this chapter, we discussed the basics of data binding and how data binding works in Windows Forms data-bound controls and ADO.NET. We discussed some essential objects that participate in the data-binding phenomena, including Binding, BindingContext, BindingsCollection, BindingManagerBase, PropertyManager, CurrencyManager, and BindingContext.

After discussing basics of data binding and how to use these objects, you learned about some data-bound controls and how to bind data using the data-binding mechanism. You also saw some practical usage of data binding and data-bound controls; specifically, you created a record navigation system with a DataGrid control. Some of the examples discussed in this chapter included changing DataGrid styles programmatically, binding data sources to various data-bound controls, building a record navigation application, and implementing search, add, update, and delete record features in a DataGrid.

The next chapter covers constraints and data relations in more detail.




Applied ADO. NET(c) Building Data-Driven Solutions
Applied ADO.NET: Building Data-Driven Solutions
ISBN: 1590590732
EAN: 2147483647
Year: 2006
Pages: 214

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net