Rahul Sharma

Rahul Sharma

  • NA
  • 194
  • 14.2k

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

Jul 22 2021 11:44 AM

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)