如何在sql server中存储图像并在asp页面上显示。 [英] how image store in sql server and display on asp page.

查看:87
本文介绍了如何在sql server中存储图像并在asp页面上显示。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道图像如何存储在sql server中并显示在asp页面中。

解决方案

尝试 Google [ ^ ]



这里有几个来自谷歌的链接
http: //chiragrdarji.wordpress.com/2007/03/05/storing-and-retrieving-image-in-sql-server/ [ ^ ]

使用Strored Procedures和C#.net从SQL Server中检索和检索图像 [ ^ ]

HTTP://www.c-sharpc orner.com/uploadfile/e628d9/inserting-retrieving-images-from-sql-server-database-without-using-stored-procedures/ [ ^ ]

http://www.dotnetcurry.com/ShowArticle.aspx?ID=129 [ ^ ]



一个简单的例子:

保存并从中检索图像使用ASP.NET 2.0和ASP.NET 3.5的数据库 [ ^ ]



若要添加一个链接,如果要在SQL Server中使用FileStream,这里有一个例子:如何存储和获取二进制数据到文件流列 [ ^ ] < br $> b $ b

结帐 CodeProject搜索结果 [ ^ ]


在GridView中显示数据库中的图像 [ ^ ]

i jaust want to know how image is store in sql server and display in asp page.

解决方案

Try Google[^]

Here are a few links from google
http://chiragrdarji.wordpress.com/2007/03/05/storing-and-retrieving-image-in-sql-server/[^]
Storing and Retrieving Images from SQL Server Using Strored Procedures and C#.net[^]
http://www.c-sharpcorner.com/uploadfile/e628d9/inserting-retrieving-images-from-sql-server-database-without-using-stored-procedures/[^]
http://www.dotnetcurry.com/ShowArticle.aspx?ID=129[^]

A simple example :
Save and Retrieve Images from the Database using ASP.NET 2.0 and ASP.NET 3.5[^]

And to add one more link, if you want to use FileStream in SQL Server, here''s an example: How to store and fetch binary data into a file stream column[^]

also checkout CodeProject search results[^]


Displaying Images from a Database in a GridView[^]


这篇关于如何在sql server中存储图像并在asp页面上显示。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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