2
Answers

How to Change Cell's Color Based on text in Asp.net Gridview?

Rahul Sharma

Rahul Sharma

3y
662
1

I am working on an attendance portal

Screenshot of Portal

I want to change the cell color based on the text in cell, like if a cell contain "P" then its background color must be green and for "A" it must be Red.
How to achieve this?

Answers (2)