日期:2014-05-18 浏览次数:20474 次
<asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList>
------解决方案--------------------
抓DropDownList1可以这样
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e) { DropDownList ddl1 = (DropDownList)sender; DropDownList ddl = (DropDownList)DetailsView1.FindControl("DropDownList2"); }