In this chapter, we examined the data-binding architecture of the page framework and showed you how to implement a data-bound control. The DataBoundTable example illustrates the core data-binding implementation, shows how to support various types of data sources, and uses typed styles for customizing the presentation of data. We also showed how to implement a control designer that shadows the DataSource property of the data-bound control at design time. In Chapter 20, we'll implement a more complex data-bound control that uses the core features we described in this chapter as well as offers templates and exposes events for customizing the data-binding process and for handling user actions in the Web browser. |