I need to make one statement to select either of the items in listbox and show the same label, regardless of which item is selected. I've tried someting like
If Me.ListBox1.SelectedItem = "R115" Or "Bay, Charles" Then
Label1.Text = "Address Information Avaliable"
End If
But it doesn't work. The code below works but I need to make it shorter.
If Me.ListBox1.SelectedItem = "R115" Or Me.ListBox1.SelectedItem = "Bay, Charles" Then
Label1.Text = "Address Information Avaliable"
End If
Any suggestions?