title: Edit in view page or index.cshtml in MVC
body: <p>I am using MVC 5 and Entity framework 6 (Database First) in my application.
  I need to update <strong>"value"</strong> field in View page\index.cshtml.
  Is it possible to use <strong>@Html.EditorFor</strong> to edit Value field for each Item on single button click?
  Here is the code in index.cshtml</p>
  
  <pre><code>&lt;table&gt;
   &lt;tr&gt;
          &lt;th&gt;
              Number
          &lt;/th&gt;
          &lt;th&gt;
              Name
          &lt;/th&gt;
          &lt;th&gt;
              Value
          &lt;/th&gt;
          &lt;th&gt;
              Description
          &lt;/th&gt;     
      &lt;/tr&gt;
       foreach (var item in Model) {
          &lt;tr&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.number)                
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.name)
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.EditorFor(modelItem =&gt; item.value)
               @*@Html.ValidationMessageFor(modelItem =&gt; item.value) *@       
              &lt;/td&gt;
              &lt;td&gt;
                  @Html.DisplayFor(modelItem =&gt; item.description)
              &lt;/td&gt;
    @* &lt;td&gt;
         @Html.ActionLink("Edit", "Edit", new { id=item.id })      
      &lt;/td&gt;*@
  &lt;/tr&gt;
  &lt;/table&gt;
  &lt;div class="form-group"&gt;
          &lt;div class="col-md-offset-2 col-md-10"&gt;
              &lt;input type="submit" value="Save" class="btn btn-default" /&gt;          
          &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>On clicking Save button I should update the data in <strong>Value</strong> field for any number of rows.
  It's done in Database First so action for Edit,View,Details are included in Controller.</p>