Click here to Skip to main content
14,877,782 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Change Background color according to Todays Date
==============================================


Dear Friends,

This is a railways project. and am using asp.net c#,sQlserver 2005

I have a GRIDVIEW with column DAYS, in that I have M,T,W,Th,F,S,Su.

I have a days Column like this IN GRIDVIEW :

Date DAYS
=================================

25/07/2012 M T W TH F S SU

26/07/2012 M T W TH F S SU

26/07/2012 0 T W 0 F S SU

26/07/2012 0 0 0 0 F 0 SU

27/07/2012 M T 0 0 0 0 SU

28/07/2012 0 0 0 0 0 0 SU

29/07/2012 0 0 0 0 0 0 SU


Suppose, if the train is on todays date(29/07/2012) only M and W should change the background color...so the users can know that this particualr train is on this day.


Please help, Thanks.
Posted

1 solution

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