国产探花免费观看_亚洲丰满少妇自慰呻吟_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能夠有所幫助。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 莱阳市| 凯里市| 鹰潭市| 台北市| 绥德县| 虎林市| 宜兴市| 红河县| 兰考县| 马边| 宁化县| 萨嘎县| 乳山市| 玉环县| 民权县| 吴川市| 大渡口区| 宣威市| 沙河市| 龙陵县| 太仆寺旗| 衡水市| 从化市| 苏尼特右旗| 手游| 兴文县| 沧州市| 郁南县| 云和县| 安达市| 正阳县| 新安县| 东至县| 乾安县| 宿州市| 仪征市| 聂荣县| 望江县| 准格尔旗| 城固县| 平罗县|