Images Display from database
-
I have stored image for employee in the database as binary data.. now i want to display this image from the database with other informations in the same page image control. do any other method for this except response.contenttype="...jpeg"; response.binarywrite=dr["image"]; plz help me soon........
-
I have stored image for employee in the database as binary data.. now i want to display this image from the database with other informations in the same page image control. do any other method for this except response.contenttype="...jpeg"; response.binarywrite=dr["image"]; plz help me soon........
Yes, the other way is to write a page handler for a custom extension, which returns the byte data and can be used to embedd the images in a page. The best way IMO, is just to store the images in the file system, and their paths in the database.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
Yes, the other way is to write a page handler for a custom extension, which returns the byte data and can be used to embedd the images in a page. The best way IMO, is just to store the images in the file system, and their paths in the database.
Christian Graus - Microsoft MVP - C++ "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )