3
Answers

Text color if another cell is empty

Shovan Saha

Shovan Saha

7y
580
1
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)