Chapter 9. Web Data Access

In the previous chapters, you created web pages, but they did not interact with real data. In this chapter, you’ll begin to extract data from the database and fill in your pages. You’ll do this incrementally, adding complexity as you go. You’ll see how to display and update a GridView (which displays data in a grid), and how to handle events generated by data controls. You’ll also learn how to filter your data on the client side to display a subset of the data you retrieve from the database and how to customize the appearance of your data controls. Finally, you’ll learn how to edit the data in place and have that data update the database safely and efficiently in a multi-user environment. You’ll put a premium on using data controls and letting the controls manage the “plumbing” of database interaction for you.

Get Programming ASP.NET, 3rd 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.