Shovan Saha

Shovan Saha

  • NA
  • 321
  • 92.6k

Text color if another cell is empty

May 19 2017 4:45 AM
C#, visual studio 2015.

ID

PaymentDate

Amount

CIBTANO

1

10 Feb 2017

500

459

2

15 Mar 2017

300

 

3

20 Mar 2017

450

654

4

07 Apr 2017

700

 
 
When I shall press the Submit button, CIBTANO will be empty, then I need the text color of Amount is red. When I shall press the Edit button with input the CIBTANO then the text color of Amount will black. This will only in datagridview.
Please help me by providing sample code or example. 

Answers (3)