Getting prob's while reading images from sql server 2005
-
hi every one, I developed one web application from there i calling one table from database that time i retrieving all the info from table but images are not displaying to my page.I cleared mention the path of image file in varchar field.why i am not getting?
-
hi every one, I developed one web application from there i calling one table from database that time i retrieving all the info from table but images are not displaying to my page.I cleared mention the path of image file in varchar field.why i am not getting?
Hi, I think you should refer to the relative path, and not the absolute path as to show the image in the web page. Here is just a suggestion. When you are saving the image, save only the image name in the database, and get the relative path and construct the path and display. Hope it helps, Thx, Gayani
-
hi every one, I developed one web application from there i calling one table from database that time i retrieving all the info from table but images are not displaying to my page.I cleared mention the path of image file in varchar field.why i am not getting?
hiiiii...... The images you stored in the database have to be converted into bytes while retreiving, for this you hav to store image path,it's length n it's type... you will also need a handler file.. try it....i hope it will help you, i have done this before!!!! :)