How do i store images in the database and retreive them in vb.net?
Please help.... Thanks in advance

Recommended Answers

All 6 Replies

the easiest way is save the path of image and save it into database. when you want to display it, you will call the file name of image.

the easiest way is save the path of image and save it into database. when you want to display it, you will call the file name of image.

Thanks... thats a nice idea.... but isn there a way to store image files in the database? Please help!

Blobs. This link should more than help.

well, great link friend :)

well, great link friend :)

I used to do this same thing in VB6, using a third-party OCX (XCeed) to compress the images and then splitting the hex values into two bytes to remove any exotic characters. Works like a charm.

Seems like this could be marked as "Solved."

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.