title: Image slider using Datalist
body: <p>I'm looking for something similar to the image slider on ebay.</p>
  <img src="https://i.stack.imgur.com/uEYK2.png">
  <p>Using datalist to retrieve the images.</p>
  <pre><code>&lt;asp:DataList ID=&quot;DataList1&quot; runat=&quot;server&quot; DataSourceID=&quot;SqlDataSource1&quot; RepeatDirection=&quot;Horizontal&quot;&gt;
  &lt;ItemTemplate&gt;                      
      &lt;asp:ImageButton height=&quot;270px&quot; width=&quot;200px&quot; ID=&quot;Prod_ImageLabel&quot; runat=&quot;server&quot; ImageUrl='&lt;%# Eval(&quot;Prod_Image&quot;) %&gt;' /&gt;                                                 
  &lt;/ItemTemplate&gt;
  &lt;/asp:DataList&gt;
  </code></pre>