Welcome aboard! We are happy you are here and wish you good net-raft!
<asp:DropDownList runat="server" id="drop1" autopostback="true" onselectedindexchanged="GreetList_SelectedIndexChanged">
<asp:ListItem value="C#">C#</asp:ListItem>
<asp:ListItem value="C++">C++</asp:ListItem>
<asp:ListItem value="objective c">objective c</asp:ListItem>
</asp:DropDownList> 
<asp:Label runat="server" id="label1"></asp:Label>
protected void drop1_SelectedIndexChanged(object sender, EventArgs e)
{
label1.Text = "Hello, " + drop1.SelectedValue;
} 
The most helpful ASP.NET solutions
detect mobile device asp.net ASP.NET Click to see more ... 552 61