I have in sql database in table price ,path who leads to images on a Web Server, hava i show image in web page with sql query ?

Recommended Answers

First of all What are you storing in table.. is "path of image" or image ?

Jump to Post

All 4 Replies

First of all What are you storing in table.. is "path of image" or image ?

imgURL = "~/UploadFiles/Imagefilepath/"
imgImage1.ImageUrl = imgURL + imagename.jpg

In my table is path of image Image/nature.jpg/ So, I have to create a query that will return all the image data, and using the StringBuilder generate HTML table with a picture (img tag), the name and price

Be a part of the DaniWeb community

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