hello i saved the image path + filename + guid in database and image store in folder.

i want to show image from database in image control of asp.net how its possible?
kindly tell me as soon as possible thanks in advance...

Recommended Answers

All 3 Replies

You need to retrieve the path of image from the database and assign or bind it to ImageUrl property of Image control.

ok thanks alot i understand....

string url = Server.MapPath("~/"+ image url from database);
img.ImageUrl = url;
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.