国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > .NET > 正文

.net中實現listBox左右移動

2024-07-10 12:48:05
字體:
來源:轉載
供稿:網友

今天用到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能夠有所幫助。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 北宁市| 平泉县| 长汀县| 湖州市| 云林县| 临西县| 手机| 桐柏县| 郴州市| 开江县| 广平县| 梅河口市| 合山市| 墨竹工卡县| 安陆市| 昔阳县| 承德县| 达日县| 玉树县| 北宁市| 弋阳县| 左云县| 重庆市| 海丰县| 肇州县| 江都市| 旬阳县| 武川县| 宁波市| 东乌珠穆沁旗| 兴海县| 团风县| 郓城县| 衡阳县| 大田县| 台湾省| 泸水县| 凉城县| 怀安县| 芮城县| 武定县|