vb.net - how to display flash message to ask select a list from listbox -


Can you guys see this code for me? I would like to try to display a flash message if the user does not select an option from the listboxes

  public sub BTNHVAClick (By-space as the system. Object, Bye-way system.AventErgues) BTNHVM Handles .Visible = True Code = ListBoxHVM.SelectedValue If the code = "" then the slow message string = "Please select" message box. Show (message) if the code = "B" then select B1 (station) SelectB2 (station) termination if code = "A" then select A1 (station) Select A2 (site )A 3 () end if end  

You ListBoxHVM.SelectedValue code

  code = ListBoxHVM.SelectedValue   

edit 2

  if code = "" then    

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -