Manoj Bisht

Manoj Bisht

  • NA
  • 145
  • 0

Fetch Images nd display in the Gridview

Jul 13 2008 3:38 AM
Hello Frnd,

I'm not getting how to display the images in the gridview because my folder name and image name are stored seperately in the database plz suggest the way............




<asp:image id="Image2" runat="server" height="80px" imageurl="<%# DataBinder.Eval(Container.DataItem,"FolderName") %>" width="125px" />





and



<asp:image id="Image2" runat="server" height="80px" imageurl="<%# DataBinder.Eval(Container.DataItem,"SmallImage") %>" width="125px" />





can anyone suggest me how to concatenate the FolderName and SmallImage to display the image in the gridview

Answers (1)