1

Hi i want to store images into database.I created table with fields like imgID tinyint, image blob. But i have a little bit confusion on it.Can any body tel me how can i do that? Thanks in advance.

2 Answers 2

1

I've always stored the image file name/location. And just linked to it ... without storing the image as a blob.

Its simpler: database won't get massive and functionally it does almost the same thing.

Sign up to request clarification or add additional context in comments.

Comments

0

You should convert Images/Bitmaps into byte array and then add it to the database as blob. Read this post

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.