1
Answer

Fetch Images nd display in the Gridview

Ask a question
Manoj Bisht

Manoj Bisht

16y
4.3k
1
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)