Data Binding ASP.Net

<%@ Page Language="VB" %>

    Sub Page_Load()
        if Not Page.IsPostBack Then
            Dim items As New ArrayList()
            items.Add("Apples")
            items.Add("Oranges")
            DropDownList1.DataSource = items
            DropDownList1.DataBind()
        End If
    End Sub
    Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
        Label1.Text = DropDownList1.SelectedItem.Text
    End Sub



    Show IsPostBack


    
    

    
            id="DropDownList1"
        Runat="server" />
    
            id="Button1"
        Text="Select"
        OnClick="Button1_Click" 
        Runat="server" />
    
    You selected:
            id="Label1"
        Runat="server" />