Hi ,
you can add DropDown in aspx code page:
<asp:dropdownlist id="DropDownList1" runat="server" xmlns:asp="#unknown">AutoPostBack="true"
onselectedindexchanged="DropDownList1_SelectedIndexChanged">
</asp:dropdownlist>
Autopostback attribute make it true.
at C# code page
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
if (DropDownList1.SelectedItem != null )
{
string selectedtext = DropDownList1.SelectedItem.Text;
string selectedValue = DropDownList1.SelectedItem.Value;
}
}
Please let me know is this helpful to you.