如何从sql数据库幻灯片显示图像? [英] How to slideshow images from sql database?

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

问题描述

我想从数据库中幻灯片显示图像,一次四张图片。



图像应在2秒后滑动,幻灯片应从右向左滚动。



在此期间,大多数图像应该消失,所有剩余的图像应该向左移动,覆盖最左边的图像。在最右边的图像处,应该拾取来自数据库的新图像。



我不知道该怎么做。



任何人都可以帮助我吗?

我尝试过使用Repeater控件,但我知道一次显示One Image的唯一方法,但我想显示图像一次。我不知道如何使用转发器显示四个图像。我也试过引用AjaxControllToolkit,但是使用它我无法将SlideShowExtender拖到我的网页上。



谢谢。

解决方案

看起来像是家庭作业或作业。所以我不打算向你提供任何代码或特定链接,只需在 Google [ ^ ]会比我更好回答。

另见并尝试自己:

使用图片进行幻灯片放映数据库 [ ^ ]

I want to slideshow images from database, four images at a time.

The images should slide after 2 seconds and slides should scroll from right to left.

During this left most image should disappear and all remaining images should move to left,covering leftmost image. At the place of rightmost image a new image from database should be picked up.

I don't know how to do this.

Can anyone help me?
I have tried using Repeater control but I know the only way of showing "One Image" at a time, but I want to show "Images at a time". I don't know how to show four images using repeater. I have also tried referencing "AjaxControllToolkit", but using this I am not able to drag "SlideShowExtender" to my web page.

Thank you.

解决方案

Seems like a homework or assignment.So i am not going to provide you any code or specific links,a simple search in Google[^] would better answer than me.
Also see it and try yourself:
making an image slideshow using database[^]


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

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