Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all
i want to make news slideshow in asp.net
the last 5 image and news be displayed in slideshow from sql server database
please anyone can hepl me
Posted

1- put empty Image1

2- select from photo table in data set for example

3-
<pre lang="c#"> for (int i=0;i<5;i++)
{
for(int time=0;time<1000;time++)
{}
Image1.ImageURL=ds.table[0].rows[i]["imgsource"].tostring();
}</pre>

4- this code for show 5 slide one time if you want to continuous view I think that you should use update panal in ajax tools and write this code in it
 
Share this answer
 
v2
This is the first sample I found: http://www.asp.net/ajaxlibrary/AjaxControlToolkitSampleSite/SlideShow/SlideShow.aspx[^].

Your best source of information is http://www.asp.net[^].

You will find a lot more: http://en.lmgtfy.com/?q=slideshow+%22ASP.NET%22[^]. Or are you banned at Google?

—SA
 
Share this answer
 
Comments
Simon Bang Terkildsen 27-Aug-11 22:39pm    
Banned by Google, now that is the worst punishment I can think of. I would rather take life in prison :P
Sergey Alexandrovich Kryukov 27-Aug-11 22:44pm    
Thank you, Simon, but... not good for you.
--SA
Abhinav S 28-Aug-11 2:33am    
Good links. 5
Sergey Alexandrovich Kryukov 28-Aug-11 2:37am    
Thank you, Abhinav.
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900