从数据库插入和检索图像

问题描述:

我正在开发我的ASP.NET学期项目宽度MS SQL Server 2012,我必须创建社交网站,用户在其上创建他的个人资料。

我唯一的疑问是如何存储图像在数据库中,然后检索当前登录并显示在网页上的用户的图像。

I am working on my ASP.NET Semester Project width MS SQL Server 2012, I have to created social website, on which user creates his profile.
My only query is that how to store images in database and then retrieve the images of user who is currently login and display on the webpage.

参考:使用ASP.NET保存和检索数据库中的图像 [ ^ ]




最好将图像保存在文件夹中您的项目并将图像URL保存在数据库中。

参考:

http://www.aspsnippets.com/Articles/Retrieve-images-using-a-file-path-stored-in-database -in-ASPNet.aspx [ ^ ]


嗨...

使用ms访问..

如何使用wpf(c#)存储图像和从ms访问中检索 [ ^ ]

谢谢你。
Hi...
Using ms access..
how to store images and retrieving from ms access using wpf(c#)[^]
Thank u.