Skip to content
Loading
Reference checkbox within db using asp.net mvc  
  • class="form-check">  
  • @Html.CheckBoxFor(m => m.DietMain.Other, new { @class = "form-check-input" })  
  • class="form-check-label" for="@Html.IdFor(m=>m.DietMain.Other)">Other  
  •   
  •   
  •   
  • 2 Replies

    Know the answer? Post it — somebody with the same question will find it here.