简单来说就是 TextBox 加上 DropDownList
然后输入资料要及时传给 DropDownList
///designer页面<script type="text/javascript"> function SetProd() { document.getElementById('<%=Txt_Prod.ClientID %>').value = document.getElementById('<%=Drop_Prod.ClientID %>').value; }</script>----------------------------------------------------------------------------<div style="position: relative;"> <asp:DropDownList ID="Drop_Prod" CssClass = "comb-textbox-list" runat="server" Style="width: 160px; margin-left: 30px" Onchange="javascript:SetProd();" OnSelectedIndexChanged="Drop_Prod_SelectedIndexChanged" AutoPostBack="True" Font-Names="微软正黑体"></asp:DropDownList> <asp:TextBox ID="Txt_Prod" CssClass = "comb-textbox" runat="server" placeholder="请先选择客户" Style="width: 167px; position: absolute;left: 0px; top: 0px;"> </asp:TextBox></div>