title: Checkboxlist Asp.Net C#
body: <p>Is there any way that I can wrap a checkboxlist in asp.net so that lets say if you have 20 checkboxes in your list, there are two columns of 10. Example:</p>
  
  <pre><code>Box                   Box
  Box                   Box
  Box                   Box
  Box                   Box
  Box                   Box
  Box                   Box
  Box                   Box
  Box                   Box
  </code></pre>
  
  <p>My current code is just:</p>
  
  <pre><code>&lt;asp:CheckBoxList ID="Numbers" runat="server" AutoPostBack = "true"&gt;
          &lt;asp:ListItem&gt; 1 &lt;/asp:ListItem&gt;  
          &lt;asp:ListItem&gt; 2 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 3 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 4 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 5 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 6 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 7 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 8 &lt;/asp:ListItem&gt;
          &lt;asp:ListItem&gt; 9 &lt;/asp:ListItem&gt;
          ...ect
  &lt;/asp:CheckBoxList&gt;
  </code></pre>
  
  <p>I figure there must be some sort of asp markup or something to allow me to cleanup this list of checkboxes.</p>