I currently have a website wherby I upload an image to my database
My code then retrieves this image and sets the asp image to the url of that image:
imageProductDetail.ImageUrl = "ImageViewer.ashx?ImageID=" + getProduct.Product.ImageID.ToString();
<asp:Image ID="imageProductDetail" runat="server" CssClass="asp_image" />
This works fine, but What I would like to do instead is create a div called imageProductDetail and then set the css background of that div to be the image url
Is this possible? ...
Go to the complete details ...