Collegamento tra controlli
forma dichiarativa molto espressiva:
<asp:DropDownList id="lstOccupation" autoPostBack="True" runat="server" />
You selected: <asp:Label id="lblSelectedValue"
Text="<%# lstOccupation.SelectedItem.Text %>" runat="server" />
databind
Sub Page_Load(s As Object, e As EventArgs) Handles MyBase.Load
lblSelectedValue.DataBind()
End Sub