sadi

sadi

  • NA
  • 25
  • 0

prblem about shoing images on site

Feb 13 2011 3:11 PM

Hi. i have photo gallery page on site. i added images to database and i show images in a datalist control.
 

 
<asp:DataList ID="dtlistresimler" runat="server" CssClass="dtlistresimler">
<ItemTemplate>
<img src='<%#Eval("tpresim") %>' alt="Erka Insaat" class="imgtamproje" width="150px" height="150px"/>
</ItemTemplate>
</asp:DataList>

 
problem is: i can show images on local computer. but when i run site that is published, images don't show. what can be the reason.Thanks.

Answers (2)