ASP.NET Rows အခြေခံအထား
အခြေခံနှင့် အသုံးပြုခြင်း
Rows အခြေခံအထား သည် ListBox အတွင်း အမြင့်အရောက် (ဖြတ်သိုက်ခ�င်း မပါ) ကို နိုင်ငံခြားပြုလုပ် သို့မဟုတ် ပြင်ဆင်ခြင်း အတွက် အသုံးပြု
ပုံစံ
<asp:ListBox Rows="num" runat="server"> some content </asp:ListBox>
အခြေခံအထား | ဖော်ပြ |
---|---|
num | ListBox အတွင်း အမြင့်အရောက် ကို အခြေခံပြုခြင်း (ဖြတ်သိုက်ခြင်း မပါ) ကို ကိုးကား |
အမှတ်
အောက်ပါ အမှတ်အသား သည် ListBox ပစ္စည်း Rows အခြေခံအထား ကို စတင်ကြိုးပမ်းသည်:
<form runat="server"> <asp:ListBox id="lb1" Rows="5" runat="server"> <asp:ListItem Value="Item1" /> <asp:ListItem Value="Item2" /> <asp:ListItem Value="Item3" /> <asp:ListItem Value="Item4" /> <asp:ListItem Value="Item5" /> </asp:ListBox> </form>
အမှတ်
- အခြေခံပရိုဂရမ် ListBox ပစ္စည်း Rows အခြေခံအထား ကို စတင်ကြိုးပမ်း