title: How can I change @Html.DisplayFor item name?
body: <pre><code>@foreach (var item in Model) {
  &lt;tr&gt;
      &lt;td&gt;
          @Html.DisplayFor(modelItem =&gt; item.nume, "Name")
      &lt;/td&gt;
      &lt;td&gt;
          @Html.DisplayFor(modelItem =&gt; item.adresa, "Adresă")
      &lt;/td&gt;
      &lt;td&gt;
          @Html.DisplayFor(modelItem =&gt; item.email, "Email")
      &lt;/td&gt;
      &lt;td&gt;
           @Html.DisplayFor(modeItem =&gt; item.localitati.localitate, "Localitate")
      &lt;/td&gt;
  </code></pre>
  
  <p>This does not work, the column names are not changing. Instead the database table column names are displayed. </p>
  
  <p>How can I change column names? (e.g "nume" into "Name" or "adresa" into "Adresa"). Thanks.</p>