How to Dynamically change GridView Row Background Color base

Dec 26 2017 4:33 PM
Hi all,
 
Dynamically change GridView Row Background Color based on condition in ASP.Net web forms using C#
 
There is two columns as total_quntity and Reorder_Level
 
The condition is,
 
if(Reorder_Level<=totalquality)
 
that grid row should be red color.
 
Thank you in advance.

Answers (1)