0
I’m having a hard time getting data from the bank. I can put it in my bank with that code
Dim comandosql As OleDbCommand
cadastro = "Insert INTO usuarios (usuario, senha) Values ('" & TextBox1.Text & "','" & TextBox2.Text & "')"
comandosql = New OleDbCommand(cadastro, conexao)
comandosql.ExecuteNonQuery()
MsgBox("Dados inseridos com sucesso")
Now I wanted to select the data already registered, for example search in the table users the "code" = 1 and select the "user" and "password" of this code and make it appear in the textbox3 and textbox4
Someone could help me?
I understood your code, it helped a lot. Thank you for your help!
– Mateus Justino