我只需要得到selectedvalues以及ID的下拉列表面板中的如何在ASP.NET的面板中循環dropdownlist?
如何循環下拉列表在ASP.NET面板?
For i = 0 To pnl.Controls.Count - 1
Dim ddl As DropDownList = CType(pnl.Controls(i)., DropDownList)
test = test & "[" & ddl.SelectedValue & "]"
Next
感謝