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.