Image URL
-
Hi, I have table stored with image like this, with column as imgid & img (Imgid) Img (1) Binary Data(Stored image as BD) (2) Binary Data How can i display those images in Image control by setting Imageurl,is it possible to set path to database?:confused: I have not used any file to store, i am storing image directly to DB and want retrive it from database and display in image control.
-
Hi, I have table stored with image like this, with column as imgid & img (Imgid) Img (1) Binary Data(Stored image as BD) (2) Binary Data How can i display those images in Image control by setting Imageurl,is it possible to set path to database?:confused: I have not used any file to store, i am storing image directly to DB and want retrive it from database and display in image control.
No, you can't set the path to the database. You have to get the data from the database and load into an Image, which you assign to the Image property of the control. Unless this is a web page (despite the question is not in the ASP.NET forum)? Then you need a proxy page that gets the image data from the database and writes it to the response stream, and you use the url of the proxy page as ImageUrl.
Despite everything, the person most likely to be fooling you next is yourself.
-
No, you can't set the path to the database. You have to get the data from the database and load into an Image, which you assign to the Image property of the control. Unless this is a web page (despite the question is not in the ASP.NET forum)? Then you need a proxy page that gets the image data from the database and writes it to the response stream, and you use the url of the proxy page as ImageUrl.
Despite everything, the person most likely to be fooling you next is yourself.