Chapter 5. Data binding in ASP.NET Web Forms


This chapter covers
  • How data binding in ASP.NET works
  • Using ASP.NET controls to display data
  • New data binding features in ASP.NET 4.0
  • Dynamic Data controls


Data binding plays a central role in ASP.NET Web Forms model. As you’ve seen in previous chapters, ASP.NET Web Forms are based on the notion of server controls. Server controls are objects placed on the page and programmed to offer a result. You can write specific code to intercept events and develop your pages using an event-driven methodology.

Data binding is essential in the ASP.NET ecosystem because web pages are often a gateway to display data coming from different sources, like a database, web service, or object. Data binding offers ...

Get ASP.NET 4.0 in Practice 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.