PLease Use this...
define an event in drop down list like following
<asp:DropDownList ID="DropDownList1" runat="server"
onselectedindexchanged="DropDownList1_SelectedIndexChanged">
</asp:DropDownList>
and then access the value
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList ddl = (DropDownList)sender;
string str = ddl.SelectedValue;
}
if it is helpful mark as answer....
Regards,
Vikash Pathak
Mahesh_Chs, if this helps please login to Mark As Answer. |
Reply | Alert Moderator