Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15229

VS 2013 DatagridView cell color to be changed to RED if the status is "Pending" else GREEN.

$
0
0
Hi,

I have a datagridview where one column name is Status where the staus input will be either "Pending" or "Paid".

What I want is, if the cell contain the text "Pending" the datagridview cell color or font color to be changed to RED. If the status is "Paid" then that particular cell color or font color to be in GREEN.

Thanks in advance for any support.
Attached Images
 

Viewing all articles
Browse latest Browse all 15229

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>