检索存储在数据库中的图像以将其显示在 ASP.Net MVC 网站上?
我有一个数据库,其中包含数据库中 varbinary(Max) Filestream 字段中的一些图片。
我必须将其显示在网站上,其中包含表格当前行的信息。
在 ASP.NET MVC 3 网站中显示存储在数据库中的图像的最佳方式是什么?
非常感谢!
I've a database, which contains some pictures in a varbinary(Max) Filestream field in a database.
I've to display it on a website, with information of the current row of the table.
What is the best way to display in an ASP.NET MVC 3 website an image stored in the database?
Thank you very much!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
下载并通过 ASP.Net MVC 从 SQL Server 上传图像?
抱歉很短,但比复制/粘贴更容易......
Download and Upload images from SQL Server via ASP.Net MVC ?
Sorry to be short, but easier than copy/pasting...