I have Stores an Image in Ms access Database and datatype of column is OLE OBJECT.
But i am Unable to retrieve the Image from database.
Please help..
When i try to Open Image its show Error
Unknown File Format or file not found.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
First thing we need to do is set the column type as
OLE Object. While saving the data into the column of typeOLE Object, save the data asbyte array, while retrieving the image from the column read the value, put the value intobyte arrayand then convert thebyte arraytoimage typeand display the same. This is very simple.