Rich set of controls in ASP.NET 2.0 using VB.NET
In this article you learn how to take advantage of the rich set of controls include in the ASP.NET 2.0 Framework for working with data.
In this article you will learn what are data bound controls in ASP.NET 2.0.
Data bound controls:
You use data bound controls to generate your application's user interface for working with data. The data bound controls can be used to display and edit database data, XML data or just about any other type of data you can imagine.
There are three types of data bound controls:
-
List controls
-
Tabular data bound controls
-
Hierarchical data bound controls
List controls:
List controls are used to display simple option lists. The ASP.NET 2.0 framework includes the following five list controls.
-
Bulleted list
-
Checkbox list
-
Dropdown list
-
List box
-
Radio button list
Bulleted list: Display a bulleted list of items. Each item can be displayed as text, a link button, or a hyperlink.
Checkbox list: Display a list of checkboxes. Multiple check boxes in the list can be selected.
Dropdown list: Display a dropdown list. Only one item in the dropdown list can be selected.
List box: You can configure this control so that only one item in the list can be selected or multiple items can be selected.
Radio button list: Display a list of radio buttons. Only one radio button can be selected.
Tabular data bound controls:
Tabular data bound controls are the main set of controls that you use when working with database data.
There are five tabular data bound controls. These controls can be divided into two types.
To display set of data item at a time you can use any of the following:
-
Grid view control: Display a set of data items in an HTML table. For Example: If you can use the grid view control to display all the records contained in the movies database table. This control enables you to display, sort, Page, select and edit data.
To display a single data item at a time you can use any of the following:
-
Detail view control: Display a single data item in an HTML table. For Example: You can use the detail view control to display a single record from movies database table. This control enables you to display, page, edit and add data.
Hierarchical data bound controls:
A hierarchical data bound control can be used to display nested data items.
For Example: you can use this control to display the folder and page structure of your website.