显示从数据库到占位符的图像 [英] display image from database to placeholder

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

问题描述


即时通讯在数据库中有我的图像.我需要在占位符中显示图像.我不知道该怎么做,请逐步解释我.

Hi,
im having my image in database. i need to display the image in placeholder. i dnt know how to do plz explain me step by step.

推荐答案

网上有很多这样的例子…….

这是一个; http://www.aspsnippets.com/Articles/SQL Server的显示图像-使用ASP.Net.aspx的数据库 [
There are heaps of examples of this on the net.......

Here is one; http://www.aspsnippets.com/Articles/Display-Images-from-SQL-Server-Database-using-ASP.Net.aspx[^]

Although it is better to store the images as images within the file system, and then simply hold a reference url to them in the db.


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

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