Hola y bienvenido..
Solo te recomiendo que cuando hagas un post especifiques cual es el lenguaje con el que quieres el ejemplo (c#, vb.net, etc)
Lo podrías hacer así:
en tu modo html sería:
Cita: <asp:DropDownList id="DropDownList1" runat="server" AutoPostBack=True></asp:DropDownList>
Y en tu codebehind (usando
vb.net) sería:
Cita: Private Sub DropDownList1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DropDownList1.SelectedIndexChanged
Response.Write("Has seleccionado = " & DropDownList1.SelectedItem.Text)
End Sub
Espero te sirva.
Salu2