GridView中的图片展示 [英] Picture Show in GridView

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

问题描述

大家好,

现在我对GridView有问题.我将所有图片路径存储在数据库(SQL)中.页面加载后,所有图片均显示在gridview中.我是那样做的.但是现在我尝试当用户单击图像时,该图像已由大div显示(就像LightBox一样).我该怎么办 ?我应该使用什么模板?请给我指路.这对我来说很重要. :((

Hello Everybody,

now i have a problem with GridView. i store All the picture path in database (SQL). After page had loaded, All the picture show in gridview. i did it that way. but now i try when user click the image , this image had been shown by large div (just like LightBox). How do i do ? What template should i use ? Please guide me a way. it is very important for me. :((

推荐答案

hi,

您可以使用JQuery来做到这一点,实际上这是最简单的方法.请导航到以下链接
http://webdeveloperplus.com/jquery/21-brilliant-jquery-image-galleryslideshow-plugins / [ ^ ]

您将获得几个出色的图像插件,以实现所需的输出.

谢谢


You can do that by using JQuery, infact that is the most easiest way.please navigate to following link
http://webdeveloperplus.com/jquery/21-brilliant-jquery-image-galleryslideshow-plugins/[^]

you will get couple of great image plugins to fulfill your desired output.

Thanks


这里是显示图像的一种替代方法,看起来很容易在asp .net中实现,我已经使用过这个了
http://jquery.com/demo/thickbox/ [
here is an alternative to show images , have a look it is easy to implement in asp .net, i already used this one
http://jquery.com/demo/thickbox/[^]


尝试
http://www.dotnetcurry.com/ShowArticle.aspx?ID=287 [ ^ ]
Try
http://www.dotnetcurry.com/ShowArticle.aspx?ID=287[^]


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

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