title: Show Image on repeater control
body: <p>Work on C# ASP.NET. I have a problem with <strong>repeater</strong> control. I want to show images on a page that is stored in a database. I collect information from northwind database.</p>
  
  <p><strong>Categories</strong> table </p>
  
  <p><strong>SQL syntax:</strong></p>
  
  <pre><code>CREATE TABLE [dbo].[Categories](
      [CategoryID] [int] IDENTITY(1,1) NOT NULL,
      [CategoryName] [nvarchar](15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
      [Description] [ntext] COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
      [Picture] [image] NULL)
  </code></pre>
  
  <p>On pageload <strong>C# syntax :</strong></p>
  
  <pre><code> NorthWindDataContext db = new NorthWindDataContext();
              List&lt;Category&gt; oList = new List&lt;Category&gt;();
              oList = db.Categories.ToList();
              Repeater1.DataSource = oList;
  </code></pre>
  
  <p><strong>aspx Syntax:</strong></p>
  
  <pre><code> &lt;ItemTemplate&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                     &lt;%#DataBinder.Eval(Container, "DataItem.Picture")%&gt;
                  &lt;/td&gt;
  
              &lt;/tr&gt;
          &lt;/ItemTemplate&gt;
  </code></pre>
  
  <p>After run the code,in my page i don't get the picture.help me to get picture on my page .Thanks in advance .If have any query plz ask.</p>