0
如何更改C#中的dropdownlist選擇索引。我在用戶控件中綁定dropdownlist。dropdownlist usercontrol
選擇的值應該改變表單頁面。
我這樣做,但在aspx頁面返回-1
我正在找contorl tryint改變入圍指數
DropDownList的DDL =(DropDownList的)ucSearchControl1.FindControl( 「ddlSearchType」);
ddl.SelectedIndex = 2;