
The focus of this chapter will be on the requirements, from the ADO.NET perspective, for binding data to various controls such asListControls andDataGrids. Data binding is necessary to link the Web or Windows form's UI controls to the data that is retrieved from a data source. When the control is activated or initiated, an underlying manager goes about initiating whatever was bound to the control (for example, a data retrieval using aSqlDataAdapter that fills aDataSet that is bound to aDataGrid). The whole binding mechanism does all of the heavy lifting of mapping the control to the data (like aDataSet,DataTable, and so on). What you will se..
|