The List controls display a list of data items from where the user can select one or more data items. These are all derived from the ListControl base class due to which they have a common set of properties and methods. You can bind data to any of the above controls using the DataSource property. In binding data to these controls, you can have two approaches, the declarative data binding approach and the programmatic data binding approach.
Note
Note that while you use the declarative approach from your HTML source code mode or in the design view mode and you hardly require any code to bind data to the controls, you use the programmatic approach to accomplish the same task from your code behind file. The declarative approach comes in handy in situations where you need not, or want to avoid writing code to bind data to the controls of your web form. However, you can have more control and provide more flexibility or customization when you do the same programmatically...