ASP.NET Tutorial

.NET Framework

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

Event-Driven Programming

ASP.NET Page Structure


Master Page

View State

Visibility of Controls

Formatting Controls

Applying CSS

Dynamic CSS

Using Style Class

Themes and Skins

Panel Control

PlaceHolder Control

AdRotator Control

Calendar Control

File Upload, Virtual Path

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