title: Displaying Image in MVC
body: <p>I am trying to display an Image from Database. But, I am getting the following error. </p>
  
  <blockquote>
    <p>The best overloaded method match for System.Web.Mvc.UrlHelper.Content(string) has some invalid arguments.</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>&lt;table&gt;
      &lt;tr&gt;
          &lt;td&gt;
              Category ID
          &lt;/td&gt;
  
          &lt;td&gt;
              Category Name
          &lt;/td&gt;
  
          &lt;td&gt;
              Category Image
          &lt;/td&gt;
      &lt;/tr&gt;
      @foreach (var item in Model)
      {
      &lt;tr&gt;
          &lt;td&gt;@item.CategoryID&lt;/td&gt;
          &lt;td&gt;@item.CategoryName&lt;/td&gt;
          &lt;td&gt;&lt;img src="@Url.Content(item.CategoryImage)" /&gt;&lt;/td&gt;
  
      &lt;/tr&gt;
      }
  &lt;/table&gt;
  </code></pre>