华域联盟 .Net .net中实现listBox左右移动

.net中实现listBox左右移动

今天用到listbox左右移动在网上找了一个,网友分享出来的,感觉不错,这里推荐给大家

复制代码 代码如下:

<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能够有所帮助。

您可能感兴趣的文章:

  • C#入门教程之ListBox控件使用方法
  • ASP.NET jQuery 实例17 通过使用jQuery validation插件校验ListBox
  • asp.net中ListBox 绑定多个选项为选中及删除实现方法
  • 对ListBox的添加移除操作实例分享
  • 给ListBox添加双击事件示例代码
  • ListBox实现上移,下移,左移,右移的简单实例
  • asp.net listbox实现单选全选取消
  • C#保存listbox中数据到文本文件的方法
  • C#读取文本文件到listbox组件的方法
  • C#实现让ListBox适应最大Item宽度的方法
  • ASP.NET中DropDownList和ListBox实现两级联动功能
  • ASP.NET中 ListBox列表框控件的使用方法

本文由 华域联盟 原创撰写:华域联盟 » .net中实现listBox左右移动

转载请保留出处和原文链接:https://www.cnhackhy.com/56298.htm

本文来自网络,不代表华域联盟立场,转载请注明出处。

作者: sterben

发表回复

联系我们

联系我们

2551209778

在线咨询: QQ交谈

邮箱: [email protected]

工作时间:周一至周五,9:00-17:30,节假日休息

关注微信
微信扫一扫关注我们

微信扫一扫关注我们

关注微博
返回顶部