如何在MVC 5中上传和检索图像?

问题描述:



我目前正在处理一个项目...我想上传和检索该项目中各个用户的图像。我在Visual Studio 2013中这样做。我搜索并尝试了很多程序,但最后都变得不成功。

我目前在MVC和实体框架中这样做。

请帮帮我!!



先谢谢..

Hi,
I am currently working on a project... and I want to upload and retreive image of individual users in that project. I am doing this in Visual Studio 2013. I searched and tried lots of procedure but at the end, all become unsuccess.
I am currently doing this in MVC and Entity Framework.
Please help me out!!

Thanks in Advance..

上传图片并保存到MVC5中的数据库 [ ^ ]

将图像/文件上传到数据库 [ ^ ]

V ideo [ ^ ]

视频是在MVC3中,但概念和逻辑保持不变。

尝试这些链接,你最终会成功..

一切顺利

谢谢:)
Upload image and save to database in MVC5[^]
Upload Image/File to database[^]
Video [^]
The video is in MVC3 but the concept and logic remains the same.
Give try to these links you will end up succeeding..
All the best
Thanks :)


在下面探索想法



通过文件浏览,拖动和放大图像上传图像。在ASP.NET MVC中删除和使用Webcam [ ^ ]



^ ]



http:/ /*.com/questions/16255882/how-to-upload-image-display-image-in-asp-net-mvc-4 [ ^ ]
Explore below for ideas

Uploading Image by File Browsing, Dragging & Dropping and Using Webcam in ASP.NET MVC[^]

Download and Upload Images from SQL Server via ASP.NET MVC[^]

http://*.com/questions/16255882/how-to-upload-image-display-image-in-asp-net-mvc-4[^]


您好



您要存储图像的位置?在数据库或网络服务器中?

请清除



谢谢

naufal
Hi

where you want to store the image ? In database or in webserver ?
please clear

thanks
naufal