In: Computer Science
The data-bound controls can be classified into .....? explain with Examples (C#)
Data-bound controls are used for interacting with data in Dynamic Web Applications. They can be used for data manipulation within web applications like adding, editing, updating the data. They basically helps the user to display the data in various forms on any application. They can combine other asp.net controls such as text-boxes, buttons, etc. They are usually bound to the data source property.
Some of the most commonly used data-bound controls are:- List View, Form View, Grid View, Data List, Repeater, etc. According to the nature of these controls, they can be classified into two categories that are the Record View Controls and Data List controls.
Record View Controls: They are responsible for showing an individual record at any particular point in time. Examples are Form View, Details View. They retrieve a single data item at a time be it a row or a record.
Data List Controls: They are responsible for showing the collection of records. Examples are GridView, ListView, DataList, Repeater, etc. They share many common traits among them and one of that is they always return the data in a list or tabular form.
Here's the solution to your problem. Thanks for asking and happy learning.