forum

Home / DeveloperSection / Forums / Row coloring of GridView Control according to its column value?

Row coloring of GridView Control according to its column value?

Pravesh Singh266210-Sep-2012

Hello Guys,

I’m facing a problem since last night; actually I’ve a SQL table which containing some information such as ID, Name, Address, Email, Password, Age, Contact No. etc and this table structure is binding with GridView control. I want to display record in GridView control with coloring row; suppose that If age is greater than 18 then row background of that data is yellow and if age is under 18 then row background of that row is orange something like that.

Please let me know how it will resolve I don’t have an idea about it. If possible, please paste your code here.

Thanks !!


Updated on 11-Sep-2012

Can you answer this question?


Answer

1 Answers

Liked By