title: Checkbox foreach item in the list
body: <p>I have a form to insert products into the database (by the moment I only put the product name):</p>
  <pre><code>  using (Html.BeginForm())
      {
        &lt;fieldset&gt;
        &lt;legend&gt;Fields&lt;/legend&gt;
        &lt;div&gt;
          @(Html.LabelFor(e =&gt; e.Name))
          @(Html.TextBoxFor(e =&gt; e.Name))
          @(Html.ValidationMessageFor(e =&gt; e.Name, &quot;Wrong name:please check&quot;))
        &lt;/div&gt;
         &lt;/fieldset&gt;
      } 
  </code></pre>
  <p>What I would like now is how should I compose the form in order to show my database list of categories, showing a checkbox foreach category.</p>
  <p>In my Product model I have a property <code>List&lt;Category&gt;</code> that I would like to complete with the chosen checkboxes from the user. But I don't know how to receive in my action the model with the property set.</p>
  <p>How to solve this?</p>