1

I was looking to upload an image (jpg) to a SQL Server database using MVC.

Basically - my user would be able to navigate to a page, Browse their computer using a file upload textbox/browse button, and click submit to have the file uploaded to the database.

Fairly new to MVC and not quite sure how to go about this.

There's lots of tutorials on the web however many of them with negative comments.

Does anyone know of any tried and tested tutorials that I could try?

Thanks.

1 Answer 1

1

I usually handle uploads with a model binder. I have a blog post here where I describe how I do it.

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

1 Comment

Yes, sorry. That domain isn't used anymore. I have updated the link now.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.