I’m quite new to asp.net MVC. I’m following the NerdDinner tutorial and have created an Edit page to modify the dinner information. This time, I want to somehow have a photo uploaded and save to the database when I press the Save button.
So how can I do this?
If possible, can anyone point me to a good tutorial that shows me how to upload photos and store it into my sql database?
I’m not familiar with any tutorials, but here are the general steps you would need to take:
array column to your table
<input type="file"/>tag