Checking if all the value exist with IF condition : String.IsNullOrEmpty(var_a) OR String.IsNullOrEmpty(var_b) Or String.IsNullOrEmpty(var_c) Or String.IsNullOrEmpty(var_d)
What I want :
IF one of a condition is true, display the var_x
Example : var_b is true and all other is false, display the var_b in message box
What if both var_b och var_c are true? Do you want to display them both or not displaying anything at all?
What do you mean with var_b is true? Is it if String.IsNullOrEmpty(var_b) is true? If yes, then you will just displaying either null or an empty string.