如何动态存储在数据库中的某些名称和图像 [英] To how some name and images dynamically which is store in database
本文介绍了如何动态存储在数据库中的某些名称和图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好
我想从数据库中显示一些名称和图像。就像数据库包含5个图像然后创建5个图像控件并显示它们,如果db包含12个图像然后创建12个图像并显示...
Plz给我解决方案,
谢谢你。
解决方案
嗯,这听起来像是DataList或Repeater控件的完美工作。更多细节此处 [ ^ ]。
尝试以这种方式上传:
图像
Hello
I want to display some name and images from database. Like if database contain 5 images then create 5 image controls and display them,if db contain 12 images then create 12 images and display...
Plz give me solution,
Thank u.
解决方案
Well, this sounds like the perfect job for a DataList or a Repeater control. More details here[^].
Try upload this way:
Image
这篇关于如何动态存储在数据库中的某些名称和图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文