title: How to check if a multiple variable are empty?
body: <p>I know how to check if variable is empty or not, but what I'm trying to do is display a message on the empty variable, for example:</p>
  
  <pre><code>    Dim server_name = TextBox1.Text
      Dim username = TextBox2.Text
      Dim password = TextBox3.Text
      Dim database = TextBox4.Text
  
      If server_name.Length &gt; 0 And username.Length &gt; 0 And password.Length &gt; 0 And database.Length &gt; 0 Then
  
      End If
  </code></pre>
  
  <p>How you can see I've a multiple condition, so if server_name is empty I want display a message </p>
  
  <blockquote>
    <p>Server name field isn't filled correctly</p>
  </blockquote>
  
  <p>It's possible do this without an else if?</p>