Language preference:

Phase 3 / Overview of DataBound Controls

DataBound controls contain the content of the page, including data from your Entities, HTML and other web controls. They show lists and single record views of data.

DataBound controls use BLDDataField controls to insert Field Templates that show and edit the data from your Entities. However, in many cases, you will not see the actual BLDDataField control as a wrapper object, like DataFieldInPattern or BLDField, is used. (These objects will be explored as the Guided Tour proceeds.)

  • BLDFormView - The recommended control for displaying a single record. It combines the simplicity of the DetailsView with the flexibility of the FormView. Demo  
  • BLDListView - The recommended control for displaying a list of records. It combines the simplicity of the GridView with the flexibility of the ListView. Demo  
  • FormView - FormView is a native ASP.NET control for viewing a single record. You define all aspects of its layout. Demo
  • ListView - ListView is a native ASP.NET control for viewing a list of records. You define all aspects of its layout. Demo
  • DetailsView - DetailsView is a native ASP.NET control for viewing a single record. It has a fixed table-style layout with each row containing a field and value. Demo  
  • GridView - GridView is a native ASP.NET control for viewing a list of records. It has a fixed table-style layout with each row containing a record and column containing a value. Demo  

BLD is flexible enough to handle other DataBound controls by creating a custom "DataBound Control Adapter" class. DataBound Control Adapters are introduced in an upcoming topic.

In the next topic, you'll learn about DataSource controls.