I have an .aspx page with a gridview and a details view for looking up products. It is working perfectly. When I select "Details" on the gridview the details view accurately populates.
I added an image named TagImageand need that image to display the correct one based upon the product changed when "Details" is hit. I'm using code behind and have checked my image directory string to make sure it is OK but the images do not display. Here is the vb.net code hehind I am using that successfully populates the details and was hoing it to display the picture:
Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As EventArgs)
AccessDataSource2.SelectParameters("ProdID").DefaultValue = _
TagImage.ImageUrl = "www.somewebsite.com/images/" + "ProdID" + ".jpg" 'e.g. image name = 1234.jpg and ProdID = 1234
p.s. I tried
View Complete Post