Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

I want to start Blinking the Label if the Last ROW in the Datagridview has entry Critical. I really dont know, how to check whether that last row contains word Critical or not. Thanks.
Posted
Comments
Richard MacCutchan 13-Mar-13 4:39am    
Check the contents of the cell that may contain that word.

1 solution

You can get the last row cell value as described here[^].
Once you have this value, simply do string.contains[^] on this text.
 
Share this answer
 
Comments
Espen Harlinn 13-Mar-13 5:42am    
5'ed!
Abhinav S 13-Mar-13 5:47am    
Thank you Espen.
ontheline89 13-Mar-13 5:53am    
Thank you Abhinav !

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900