title: simply outputting @Model value in img src or a href
body: <p>New to Razor and I am missing somethign simple here:</p>
  
  <pre><code>    @foreach (var p in @Model)
          {
  &lt;a href="/category/@Html.Display("CategoryID")" &gt;
           &lt;img src="http://images.mydomain.com/productimages/@ViewData["ManufacturerID"]/category-@Html.Display("CategoryID")_lg.jpg?width=200&amp;height=130" width="200" height="130" class="myImg" alt="" /&gt;      
  &lt;/a&gt;  
      }
  </code></pre>
  
  <p>I simply want to out put the CategoryID here, the link above does not output a value for CategoryID. What am I doing wrong here? </p>
  
  <p>My model is populated since I can drop this in the loop and it displays: <code>@p.CategoryName</code></p>