October 2003
Intermediate to advanced
736 pages
15h 25m
English
Data binding is the act of connecting a control to a data source. Binding lets you create an association between controls and data sources to keep a control and a data source in sync automatically. The control can be simple, like a TextBox or a ListBox, or full-featured, like the DataGrid. If the data source is an item data source, either it's an object having zero, one, or more public properties or you need a conversion to the data type to properly bind to what the control needs. A data source can also be a list data source, in which case it's a list of objects that can be shown one at a time (when simply bound) or all at once (when complexly bound). Simple binding requires no support from the control itself and allows any number ...