如何存储在SQL Server中的图像? [英] how to store images in sql server?

查看:154
本文介绍了如何存储在SQL Server中的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能重复:结果
  <一href=\"http://stackoverflow.com/questions/479699/upload-images-to-sql-server-2005-using-asp-net-mvc\">Upload图像使用ASP.Net MVC的SQL Server 2005?

我要寻找一个code样品通过一个asp.net MVC应用程序到SQL Server存储图像?我找不到与FileStream选项工作code应用程序的例子吗?

i am looking for a code sample to store images through an asp.net mvc application to sql server? i could not find an example of a working code application with the FileStream option?

推荐答案

我觉得你在找什么这个问题的答案:

I think what you are looking for is answered in this question:

<一个href=\"http://stackoverflow.com/questions/479699/upload-images-to-sql-server-2005-using-asp-net-mvc\">Upload图像使用ASP.Net MVC的SQL Server 2005?

下面也对存储和检索使用SQL和MVC图像的真正融为一体prehensive文章:

Here is also a really comprehensive article on storing and retrieving images using SQL and MVC:

HTTP://www.$c$cproject.com/KB/ ASPNET / streamingblobhttp.aspx

这篇关于如何存储在SQL Server中的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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