Reputation: 14108
Goal: Upload a picture that shall be saved in the asp.net MVC project created in Visual Studio 2010.
Questions:
Should the pictures be saved in my SQL server express or VS 2010's Content/Images and why?
The requirement specifications are:
What sourcecode do I need?
Can somebody can recommend a good website about the sourcecode of uploading a picture?
Upvotes: 0
Views: 246
Reputation: 499302
Should the pictures be saved in my SQL server express or VS 2010's Content/Images and why?
To answer this question, read this article.
You can find code to upload files in many places.
Adapting it so only files of your specifications will be saved is left as an exercise for the reader.
Upvotes: 2