Bineesh  Viswanath

Bineesh Viswanath

  • NA
  • 1k
  • 777.3k

C# code to check any control value empty in WinForm

Oct 14 2013 1:05 AM
Sir, I need your help to find any control's value empty in a Win Form.

This is the code I seen commonly:-

(controlName).Text==string.Empty || (controlName).Text!=string.Empty

I want the code to check all the controls value in a single code. If have that kind of code, please send the code.


Answers (5)