显示文件夹中的多个图像 [英] Displaying multiple images from folders

查看:92
本文介绍了显示文件夹中的多个图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用c#从我在asp.net中的项目中显示的文件夹中显示多个图像。



类似图像的模板显示,然后用户可以看到它们并下载它们。



任何人都可以帮我这个吗?



谢谢

解决方案

非常感谢



但我正在寻找的是我的图像存在于文件夹中,然后从中我想要全部检索它们。


试试这个。它可以帮助你..

Web Image Browser - 很多图像,没有时间发布它们? [ ^ ]

http://forums.asp.net/t/1258697.aspx/1 [ ^ ]

http://stackoverflow.com/questions/12618762/how-t o-show-multiple-images-with-imagename-and-with-dimensions-from-a-folder-in [ ^ ]


1>你只需在上传时在你的数据库中插入图像名称..



2>之后,您只需执行查询到数据库并获得所有图像名称



3>在数据表中获取这些数据后,您可以通过数据表绑定转发器。





如果有帮助,那么请标记为回答.. =)


I want to display multiple Images from a folder which is present in my project in asp.net using c#.

Its something like Images of templates which would be displayed and hence then the user can see them and download them.

Can anyone help me with this ??

Thanks

解决方案

Thanks jOy

But what I am looking for is that my images are present in the folder and then from that I want to retrieve them all.


try this .it help you..
Web Image Browser - Lots of images and no time to publish them?[^]
http://forums.asp.net/t/1258697.aspx/1[^]
http://stackoverflow.com/questions/12618762/how-to-show-multiple-images-with-imagename-and-with-dimensions-from-a-folder-in[^]


1> you simply inserted image name in your database when it is uploading..

2> after that you simply execute your query in to database and got the all Image name

3> after getting those data in your data table you can bind repeater by your data table.


if is it help full then please mark as answer.. =)


这篇关于显示文件夹中的多个图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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