.net中实现listBox左右移动
今天用到listbox左右移动在网上找了一个,网友分享出来的,感觉不错,这里推荐给大家
<divstyle="width:200px;float:left;">
<table>
<tr>
<td width="50%">
<asp:ListBoxID="ListBox2"runat="server"Height="128px"Width="148px">
<asp:ListItemValue="张三"></asp:ListItem>
<asp:ListItemValue="李四"></asp:ListItem>
<asp:ListItem>王五</asp:ListItem>
</asp:ListBox>
</td>
<td>
<asp:ButtonID="Button2"runat="server"Text="《"></asp:Button>
<asp:ButtonID="Button1"runat="server"Text="<"></asp:Button>
<asp:ButtonID="Button3"runat="server"Text=">"></asp:Button>
<asp:ButtonID="Button4"runat="server"Text="》"></asp:Button>
</td>
<tdalign="left"width="50%">
<asp:ListBoxID="ListBox1"runat="server"Height="128px"Width="148px"></asp:ListBox>
</td>
</tr>
</table>
</div>
以上所述就是本文的全部内容了,希望对大家熟练使用listbox能够有所帮助。
热门推荐
10 儿子立冬祝福语简短独特
11 对当兵的祝福语简短
12 侄儿高考试祝福语简短
13 伴郎红包祝福语朋友简短
14 媳妇生日简短祝福语朋友
15 公司年会祝福语简短最好
16 元旦感恩祝福语简短大全
17 红包祝福语简短10字
18 周六早晨祝福语简短