<td> <asp:Repeater id="people" runat="server"> <ItemTemplate> <input type ="checkbox" id=<%# DataBinder.Eval(Container.DataItem,"USRID")%> /> </ItemTemplate> </asp:Repeater><td>以上是一段代碼,綁定后會在一個td中排列一行顯示很多個checkbox,我需要一行4個checkbox,然后自動換行,該如何做.還請高手指教.
repeat 限定每行個數(shù)
函數(shù)式編程
2018-10-10 05:06:12