Hello Team,
I have a folder named Images and i am uploading the images to a folder and storing just the name of the image with extension in the database.
Now i want to bind that image to an Image Control on a Page not inside a Grid View or data list i am just using a Image Control.
I tried using ImageUrl =
Path.Combine(Server.Mappath("~/Images"),ds.tables[0].Rows[0]["ImageName"].toString()); But it is not giving me the Image Display
I also tries using Eval directly in HTML Mark up
Like ImageUrl=ProductImages/'<%#Eval("ImageName"))%>'
None of them are working
To Summarise, I want to bind the Image to a Image a Control where the name of the image is stored in the database and the image is in folder.
Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved