i have imagepath stored in database , now i want to show on asp.net page via datalist , so how to do it , i tried by best and binded textual data from database bt not able to bind or show image on asp.net page via datalist ? i am using asp.net 3.5(c#) + sql server2008's DB.
help !

Recommended Answers

All 2 Replies

I'm not I front of a PC at the moment by you simply need to have the image element within your template field and use eval instead of bind on the field name that stores the path.

You can also do this on the GUI if you click on edit columns on the datalist. Can help you later today if you haven't figured it out.

@jorgem: ok got it and solved

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.