Display dropdownlist selection with a label
<p>I am having a heck of a time all I want is this.</p>

<p>label.text = dropdownlist.text</p>

<p>How do I do that with a dropdownlist that is populated with a datasource in the visual studio designer? </p>

<p>I have an update statement that gets a parameter value from dropdownlist.text, why can't I just set the text property of the label the same way? I think I am missing something really simple but I can't find it. </p>

<pre><code>&lt;asp:DropDownList ID="ddlEditFruit" style="Z-INDEX: 159;
        LEFT:780px; POSITION: absolute; TOP: 280px;"
        runat="server" DataSourceID="update" 
        DataTextField="fruit_id" DataValueField="fruit_id" 
        AppendDataBoundItems="True" AutoPostBack="True"&gt;
    &lt;asp:ListItem Selected ="True" Text="" Value =""&gt;(Select)&lt;/asp:ListItem&gt;
&lt;/asp:DropDownList&gt;




private void btnUpdate_Click(object sender, System.EventArgs e)
{
    if (bxStarch.Text.Trim().Length == 0)
    {
        this.lblError.Visible = true;
    }
    else
    {
        this.lblError.Visible = false;
        //string id = ddlEditFruit.SelectedValue.ToString();
        this.lblId.Visible = true;

        this.lblId.Text = ddlEditFruit.SelectedItem.Text;
        edit_fruit();
        reset_dropdowns();
        resest_dropdowns_2();
        fill_grd_fruit_id();
        fill_grd_size();
        fill_grd_progress();
        SetFocus(ddlGrade);
        change_back();
    }
}
</code></pre>
