Chapter 16. Data-Bound Controls

Data binding is the process of associating user interface (UI) elements with a data source to generate a visual representation of data. ASP.NET provides declarative data-binding syntax (<%# %>) that allows a page developer to easily bind data to any read/write property of a server control. When the data source represents a collection of items or records, it is not possible to bind the entire collection to a single property of a control. This scenario requires specialized controls that can enumerate the objects in the collection to generate a visual representation for each enumerated object. Controls that are bound to ...

Get Developing Microsoft® ASP.NET Server Controls and Components now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.