Tuesday, October 13, 2009

Explain the rich data controls in ASP.Net 2.0.

ASP.NET includes some rich data controls that support repeated-value binding. The rich data controls are designed exclusively for data binding. They also have the ability to display several properties or fields from each data item, often in a table-based layout or according to a template youve defined; they support higher-level features such as editing; and they provide several events that allow you to plug into the controls inner workings at various points.

The rich data controls include the following:
GridView: The GridView is an all-purpose grid control for showing large tables of information. It supports selecting, editing, sorting, and paging. The GridView is the heavyweight of ASP.NET data controls. Its also the successor to the ASP.NET 1.x DataGrid.

DetailsView: The DetailsView is ideal for showing a single record at a time, in a table that has one row per field. The DetailsView supports editing and optional paging controls that allow you to browse through a sequence of records.

FormView: Like the DetailsView, the FormView shows a single record at a time, supports editing, and provides paging controls for moving through a series of records. The difference is that the FormView is based on templates, which allow you to combine fields in a much more flexible layout that doesnt need to be based on a table.

Labels:

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home