Hi,
Within asp.net 1.1 and
vb.net I've got a page containing a dropdwon list control as per the code below :
Code:
<asp:DropDownList id="Product" runat="server">
<asp:ListItem Value="GuitarCables">Guitar Cables</asp:ListItem>
<asp:ListItem Value="Plectrums">Plectrums</asp:ListItem>
<asp:ListItem Value="GuitarCases">Guitar Cases</asp:ListItem>
<asp:ListItem Value="GuitarStraps">Guitar Straps</asp:ListItem>
<asp:ListItem Value="GuitarTuners">Guitar Tuners</asp:ListItem>
<asp:ListItem Value="GuitarStrings">Guitar Strings</asp:ListItem>
<asp:ListItem Value="GuitarStands">Guitar Stands</asp:ListItem>
</asp:DropDownList>
Now what I want to do is to create a label to dsiplay what item is being selected. For example, if a customer clicks on the "Guitar Cables" option it writes out the label saying "You have selected Guitar Cables".
What's the easiest way to do this ?
Thanks,