This tutorial will show you how to use the control of BulletedList to show data in ASP.NET 2.0 and C#. BulletedList class can create a control that generates a list of items in a bulleted format.

First, import the namespace of System.Web.UI.WebControls

We will use BulletedList1_Click event to show the selectedindex and selectedvalue.

The front end Default.aspx page looks something like this:

The flow for the code behind page is as follows.

Download Source Files