TechBubbles Microsoft Technology BLOG

ASP.NET 3.5 List Controls Overview

Introduction

This post explains the List Controls that are included in the ASP.NET 3.5. List Controls are one of the Data Bound type controls in ASP.NET. The following are the five List Controls in ASP.NET 3.5.

    • BulletedList – It displays the list of items which can be displayed as text, a link button, or a hyperlink.
    • CheckBoxList- It displays the list of checkboxes where user having the option of selecting the multiple checkboxes.
    • DropDownList- It displays the list of items where user can select only one item from the list.
    • ListBox-It displays the list of items where user can select the single or multiple items from the list.
    • RadioButtonList-It displays the list of radio buttons where user can select the only one button from the list of items.

All the above mentioned controls are inherited from the base class ListControl.

You can write the following to bind the data to above mentioned controls

Code

The output for the above code as follows

BulletedList

checkboxlist

Rest

All the List Controls used SqldataSource control as data source for displaying data.

Technorati Tags:

Share this post :

About the author

Kalyan Bandarupalli

My name is kalyan, I am a software architect and builds the applications using Microsoft .NET technologies. Here I am trying to share what I feel and what I think with whoever comes along wandering to Internet home of mine.I hope that this page and its contents will speak for me and that is the reason I am not going to say anything specially about my self here.

Add Comment

TechBubbles Microsoft Technology BLOG

Follow me

Archives

Tag Cloud