从数据库插入和检索图像 [英] Insert and retrieve images from databse

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

问题描述

我正在开发我的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.


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

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