亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

.net中實現listBox左右移動

 更新時間:2015年03月13日 08:55:46   投稿:hebedich  
這里給大家推薦的是一段網友分享的,使用.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能夠有所幫助。

相關文章

最新評論