ankitweblogic logo
W e b t u t o r i a l s

ASP.NET Tutorial


ASP.NET Introduction

ASP.NET Web Forms

Standard Controls

Label Control

TextBox Control

Image Control

Button Controls

Redirecting User

Using HyperLinks

RadioButton Control


CheckBox Control

CheckBoxList Control


ListBox Control

ImageMap Control

Master Page

View State

Event-Driven Programming


ASP.NET Page Structure

Visibility of Controls

Formatting Controls

Applying CSS

Dynamic CSS

Using Style Class

Themes and Skins

Panel Control

PlaceHolder Control

AdRotator Control

Calendar Control

Validation Controls

Page Navigation

User Control

Separating Code-Presentation

Overview of ADO.NET

Data Binding

DataBinding List Control

Binding Data to a List Control

List controls include DropDownList, CheckBoxList, RadioButtonList and ListBox control. The data binding technique for these controls is similar and is almost same as for a repeater control. You assign a data source to the control’s DataSource property, and call the control’s DataBind() method. But, list controls have an additional property to be set. This is the DataTextField property.

Example 8: Data Binding List Controls