The code below is executing even if I leave textbox2 Null. I thought the execution would stop from executing further code.?
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox1.Text = "" Then
LabelTextBox1.Visible = True
Stop
End If
If TextBox2.Text = "" Then
LabelTextBox2Visible = True
Stop
End If
End Sub
...
Go to the complete details ...