CheckBox Create.csthm works free of problems ı want to write
ASP.NET MVC CRUD CheckBox edit.csthm
using CheckBoxFor....
thanks alot
halim korkmaz
ASP.NET MVC CRUD CheckBox Create.csthm
@model MvcCheckBox.Models.LANGUAGES 
@{ ViewBag.Title = "Create"; } 
<h2>Create</h2> 
@using (Html.BeginForm()) 
{ 
@Html.ValidationSummary(true) 
<fieldset> 
    <legend>LANGUAGES</legend> 
    <div class="editor-label"> 
        @Html.LabelFor(model => model.LANGUAGE1) 
    </div> 
    <div class="editor-field"> 
        @Html.ValidationMessageFor(model => model.LANGUAGE1) 
        @Html.CheckBox("LANGUAGE1", "1") 
        @Html.Label("Language1") 
    </div> 
    <div class="editor-label"> 
        @Html.LabelFor(model => model.LANGUAGE2) 
    </div> 
    <div class="editor-field"> 
        @Html.ValidationMessageFor(model => model.LANGUAGE2) 
        @Html.CheckBox("LANGUAGE2", "1") 
        @Html.Label("Language2") 
    </div> 
    <div class="editor-label"> 
        @Html.LabelFor(model => model.LANGUAGE3) 
    </div> 
    <div class="editor-field"> 
        @Html.EditorFor(model => model.LANGUAGE3) 
        @Html.ValidationMessageFor(model => model.LANGUAGE3) 
    </div> 
    <p> <input type="submit" value="Create" /> </p> 
</fieldset> 
} 
<div> 
    @Html.ActionLink("Back to List", "Index") 
</div> 
@section Scripts 
{ 
    @Scripts.Render("~/bundles/jqueryval") 
}