我在detailview里加了个dropdownlist 我怎么在后台找到它呢?
------解决方案--------------------------------------------------------
- C# code
DropDownList dd= this.DetailsView1.FindControl("DropDownList1") as DropDownList; string selectValue = dd.SelectedValue;
DropDownList dd= this.DetailsView1.FindControl("DropDownList1") as DropDownList; string selectValue = dd.SelectedValue;