CHAPTER 37

image

Complex Data Controls

In this chapter we continue our description of the built-in data controls included with the ASP.NET Framework, moving to the complex data controls, FormView and ListView, which are capable of creating, deleting, and editing data. We show you one of these controls—FormView—in somewhat more detail because the complex data controls share a common design, and knowledge of one can be applied to the other. The FormView control is used to display the values from a single data object, while the ListView control is used to display multiple data objects, usually arranged in a grid.

Preparing the Example Project

We will ...

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.