需要下载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 }
新闻热点
疑难解答