如何将下拉列表的选定值传递给用户控件.aspx
<select id="DropDownList2">
<option value="product1">Police Schemes1</option>
<option value="product2">Police Schemes2</option>
<option value="product3">Police Schemes3</option>
</select>
.ascx
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
//string selectedvalue = "";
}
}
任何帮助或建议将不胜感激