Click here to Skip to main content
15,940,271 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I've a gridview with column datetime. I've a variable dt(datetime) which gets current system datetime.
I need to fetch the date from the gridview and if it is less than current date, that row's backcolor should change to some other color. Should change color for all rows which satisfies that condition .....
joshrduncan2012 29-Oct-13 10:35am    
So what is your question?
Sriram Ramachandran 31-Oct-13 0:53am    
I need to change the background color of the gridview row based on comparing current date and fetching date from the gridview. Is that possible ????? for eg:: current date is 31/10/2013 and date from gridview column is 25/10/2013. So fetched date is less than current date. So I need to change the rows which are less than current date to green background color.

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