手机
当前位置:查字典教程网 >编程开发 >asp.net教程 >.net中实现listBox左右移动
.net中实现listBox左右移动
摘要:今天用到listbox左右移动在网上找了一个,网友分享出来的,感觉不错,这里推荐给大家复制代码代码如下:王五以上所述就是本文的全部内容了,希...

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

复制代码 代码如下:

<div>

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

【.net中实现listBox左右移动】相关文章:

asp.net下实现URL重写技术的代码

.Net 文本框实现内容提示的实例代码

asp.net一些很酷很实用的.Net技巧第1/2页

.net发送邮件实现代码

ASP.NET中实现模板页

在.net中用CheckBoxList实现单选

asp.net 1.1/ 2.0 中快速实现单点登陆

asp.net AJAX实现无刷新获得数据

asp.net实现md5加密

在asp.net中实现datagrid checkbox 全选的方法

精品推荐
分类导航