I want to ask how to make when we press the value for the combo box. For other textbox can easily appear. So, the user can do input 2 times. Here I attach my code
Private Sub combo1()
conn.Open()
Dim stringsql As New MySqlCommand("select * from supplier", conn)
Dim dr As MySqlDataReader = stringsql.ExecuteReader
ComboBox1.Items.Clear()
While dr.Read()
ComboBox1.Items.Add(dr("npwp"))
End While
conn.Close()
ComboBox1.Items.Insert(0, "")
End Sub
Private Sub Utama_Load(sender As Object, e As EventArgs) Handles Me.Load
combo1()
End Sub