如何在MVC 5中上传和检索图像? [英] How To Upload and retrieve Images in MVC 5?

查看:126
本文介绍了如何在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:/ /stackoverflow.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://stackoverflow.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


这篇关于如何在MVC 5中上传和检索图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆