0

I am using asp.net 4.0 and Mvc3 utilizing the entity modeler. How do I create an entry that is an image?

For example, I want the user to upload an image and then save it in my database.

1 Answer 1

1

It is not different from when using pure ado.net. Just decide whether save image into hard disk with path in the database, or blob in the database

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

2 Comments

but when modeling you have to give it a type, and there is not a blob type..?
just choose the "Binary Type"

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.