🔒 Closed Visual basic help please

Status
Not open for further replies.

PatoGaming

Leecher
Ano pu yung code na kapag may iniput ka po sa textbox, may titignan siya na list and kapag wala sa list na yun yung iniput mo lalabas ang another form?

Yung language po is Vb.net

Answer po please kung malabo po yung question pa pm po :) need po for project
Taking Technical-Vocational-Livehood Information and Communication Technology Grade 11 student
 
Concept lang. :)
  1. Gawa ka ng database.
  2. Input ka ng "SELECT" query doon sa ininput sa text box.
  3. Merong conditional statement na kapag merong na-return na atleast 1 row doon sa query, ikaw bahala sa event kung anong mangyayari, otherwise, lalabas yung sinasabi niyo pong "another form".
 
Dim Listahan As New List(Of String)(New String() {"Chicks1", "Chicks2", "Chicks3", "Chicks4"})
If Listahan.Contains(TextBox1.Text) Then
Label1.Text = "Nasa listahan yan!"
Else
Label1.Text = "Wala sa listahan yan!"
End If
 
Status
Not open for further replies.

Similar threads

About this Thread

  • 4
    Replies
  • 650
    Views
  • 5
    Participants
Last reply from:
gravesjk

Trending Topics

Online now

Members online
1,234
Guests online
2,728
Total visitors
3,962

Forum statistics

Threads
2,301,327
Posts
29,142,147
Members
1,198,989
Latest member
zenitsu0000
Back
Top