用图像检索数据 [英] data retrieval with images

查看:56
本文介绍了用图像检索数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

美好的一天。



我对MVC很新,需要帮助。



我试图从数据库中的表中检索数据(包括图像)。我已设法从表中检索单行并使用实体框架显示它。我遇到麻烦的是行包含一个图像(在表格中保存为varbinary(MAX)),但是它没有查看包含所有数据的图像。



非常感谢您的帮助。

解决方案

看看这里: http://stackoverflow.com/questions/1472410/how-can-i-retrieve -an-image-from-sql-server-using-asp-net-mvc-with-the-entity-fr [ ^ ]

Good day.

Im very new to MVC and need assistance.

Im trying to retrieve data(that include images) from a table in the database. I have managed to retrieve a single row from the table and display it using entity framework. What im having trouble with is the row contains an image (saved as varbinary(MAX) in the table), but then its not viewing the image with all the data.

Your help is much appreciated.

解决方案

Have a look here: http://stackoverflow.com/questions/1472410/how-can-i-retrieve-an-image-from-sql-server-using-asp-net-mvc-with-the-entity-fr[^]


这篇关于用图像检索数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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