我想顯示多個文本框,具體取決於用戶從下拉框中選擇的數字。下面的示例:根據下拉框選擇顯示文本框
所以,無論數量在下拉刷新頁面中選擇,並顯示該號碼的文本框中。我需要去20個領域。有沒有辦法在C#或者使用Ajax Control Toolkit來做到這一點?
ASPX
<asp:Label ID="NumAccounts" runat="server" Text="# of Accounts"></asp:Label> <asp:DropDownList
ID="EmpNameList" runat="server" onselectedindexchanged="NumAccountsList_SelectedIndexChanged"
AutoPostBack="True">
</asp:DropDownList>
試試看[這裏](http://forums.asp.net/t/1785209.aspx/1) – Nathan
@Nathan謝謝nathan,這非常有幫助! – techora