源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

.net中实现listBox左右移动

  • 时间:2022-01-25 09:44 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:.net中实现listBox左右移动
今天用到listbox左右移动在网上找了一个,网友分享出来的,感觉不错,这里推荐给大家
[u]复制代码[/u] 代码如下:
<div style="width:200px; float:left;">     <table>     <tr>         <td  width="50%">         <asp:ListBox ID="ListBox2" runat="server" Height="128px" Width="148px">             <asp:ListItem Value="张三"></asp:ListItem>             <asp:ListItem Value="李四"></asp:ListItem>             <asp:ListItem>王五</asp:ListItem>             </asp:ListBox>         </td>         <td>             <asp:Button ID="Button2" runat="server" Text="《"></asp:Button>             <asp:Button ID="Button1" runat="server" Text="<"></asp:Button>             <asp:Button ID="Button3" runat="server" Text=">"></asp:Button>             <asp:Button ID="Button4" runat="server" Text="》"></asp:Button>         </td>         <td align="left" width="50%">              <asp:ListBox ID="ListBox1" runat="server" Height="128px" Width="148px"></asp:ListBox>         </td>     </tr>     </table>     </div>
以上所述就是本文的全部内容了,希望对大家熟练使用listbox能够有所帮助。
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部