Building Data Driven Applications
Data Binding Techniques
-
A data source can be a simple hash table, an array or a
database
-
Single-expression Binding
- Single-value binding is used to bind a single value or expression or control
The final web pages should appear as follows:
SingleBind.aspx
Web Data Controls
-
Data Binding Controls are used to bind to the data sources,
and then display the data
in the web page.
The final web pages demonstrate controls binded to differenct
data sources:
DropDownList.aspx ListBox.aspx CheckBoxRadio.aspx
DataGridSimple.aspx DataList.aspx
Repeater.aspx
DataGridDisplay.aspx
DisplayGridColumns.aspx DataGridDetails.aspx
RepeaterTemplate.aspx DataListTemplate.aspx