选择列表控件的使用(PickList)

需要下载picklist.dll类库配合使用

 1 <%@ Register TagPrefix="cc1" Namespace="PickListControl" Assembly="PickListControl" %>
 2 
 3 <cc1:PickList id="pklOperator" runat="server" Height="250px" Width="450px" 
 4             FormID="Form1" IsMoveItemLeft="false"
 5                                 IsMoveItemRight="false" AllButtons="false">
 6         <ItemsLeft>
 7             <asp:ListItem>1</asp:ListItem>
 8             <asp:ListItem>2</asp:ListItem>
 9         </ItemsLeft>
10         </cc1:PickList>
11 //后台测试
12 foreach (ListItem item2 in pklOperator.ItemsRight)
13         {
14             s += item2.Text;
15         }
原文地址:https://www.cnblogs.com/hyyweb/p/5133160.html