ASP Net Controls ASP.Net Tutorial

<%@ Page Language="C#" %>

    protected void Dropdownlist1_SelectedIndexChanged(object sender, EventArgs e)
    {
        Response.Write("You selected item number " + DropDownList1.SelectedValue + "
");
        Response.Write("You didn't select item number " + DropDownList1.Items[1].Value);
    }



    DropDownList Server Control


    
        
            First Choice
            Second Choice
            Third Choice