title: @Html.DisplayText will not actually display text
body: <p>The following is the first  section in the first row of a table on one of my ASP MVC3 Index pages. I've stepped through the code when that page loads, and can see that the evaluation of the conditions is done properly, however not of the "CE" or "PT" displays. I'm pretty new to ASP MVC, can someone help me with the syntax/explain what's going on? </p>
  
  <pre><code>@foreach (var item in Model.Where(i =&gt; i.Status != "C")) {
  var Id = item.Id;
  &lt;tr&gt;
      &lt;td&gt;
      @if (!String.IsNullOrWhiteSpace(item.TableName))
      {
          if (item.TableName.Equals("AgentContEd"))
          {
              @Html.DisplayText("CE");
          }
          else if (item.TableName.Equals("AgentProductTraining"))
          {
              @Html.DisplayText("PT");
          }
          else
          {
              @Html.DisplayFor(modelItem =&gt; item.TableName)
          }             
      }           
      &lt;/td&gt;
  </code></pre>