CHAPTER 35

image

Data Binding

The process of getting data into controls is known as data binding—although this is a loosely defined term, and Microsoft has applied it to different techniques and features over the years. In ASP.NET 4.5, data binding has been enhanced through the addition of strongly typed controls, which are our focus in this chapter. (The previous iterations of data binding could be pretty fiddly and painful, and we don’t get into them in this book—we recommend that you use the features we cover.) In this chapter, we’ll explain how data binding works and demonstrate how to create custom data controls, including those that are strongly ...

Get Pro ASP.NET 4.5 in C#, Fifth Edition 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.