Originally posted by yugandhar channagiri:
can you help me in finding out solution for inserting an image in to the database ?? and also give me sample code for this problem........
Did you care to give it a try yourself. Just a deep breath .....Google or some random ideas.
Asking for the code doesn't really make sense, if you don't care to give the problem a try by yourself.
Anyway, few hints are you can store image as a BLOB, or simply opening a binaryinputstream.
Another way is, if you are sure that the file will remain on server then, you can just store the URI of file and retrieve the file with the help of URI.