.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Photo Album

Posted By: charles     Posted Date: March 15, 2013    Points:5   Category :ASP.Net
I doing a builder website. Each Project has gallery.

http://www.tbpl.in/tbplanjaligardens-gallery.aspx . Now all photos under one project is bind to ONE datalist...

I want Gallery as time line.. Based on inserted date, Photos are under one album...Last inserted album should come Top. HOW TO DO THIS...

PRESENTlY i USING ONE DATALIST(STATIC) ,all photos under one project is bind to this...

Author: Aamrapali Tamgadge             
Posted Date: March 19, 2013     Points: 20   

Hi charles
take your datalist under gridview so thar automatically get the images watever number it present.
and while selecting a record write a query like
"Select Photos From yourtablename order by id desc"
you wil get the last inserted record first.

Software Programmer At OTIS ISRC
Author: Deco             
Posted Date: March 20, 2013     Points: 20   

You can use the same data list and while getting the data from Sql server you can select all the values based on the date. You can then create the dataList dynamically and can populate all the albums in the respective datalist.


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend