?
Dieses Dokument verwendet PHP-Handbuch für chinesische Websites Freigeben
RepeatColumns 屬性用于獲取或設(shè)置當(dāng)顯示復(fù)選框列時所使用的列數(shù)。
<asp:CheckBoxList RepeatColumns="num" runat="server">
Some Content
</asp:CheckBoxList >
屬性 | 描述 |
---|---|
num | 規(guī)定要顯示的列數(shù)。默認是 "0"(未設(shè)置)。 |
下面的實例把 CheckBoxList 控件中的 RepeatColumns 屬性設(shè)置為 "2":
<form runat="server">
<asp:CheckBoxList id="rb1"
runat="server" RepeatColumns="2">
Some content
</asp:CheckBoxList>
</form>