Connexion Mysql HOSTINGER
Bonjour,
Je viens de creer une database sur hostinger et une table ( login ) pour mon programme.
le probleme c est que j ai mis se code
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13
| Dim connexionsql As New MySqlConnection("serveur=mysql.hostinger.fr; Userid=XXXXXXXXXXx; password=XXXXXXXXX; database=XXXXXXXX;")
Dim command As New MySqlCommand
Dim reader As MySqlDataReader
connexionsql.Open()
command.Connection = connexionsql
command.CommandText = "SELECT Username, Password FROM Login WHERE Username'" & TextBox1.Text & "' and Password'" & TextBox2.Text & "'"
reader = command.ExecuteReader
If reader.HasRows Then
Form2.Show()
Form3.Show()
Else
MsgBox("Le nom d'utilisateur ou le mot de passe n est pas correct.")
End If |
et quand je lance le programme apres avoir clique sur le bouton1
Il me dis Keyword Not Supported
voila un screen tu probleme http://prntscr.com/6hwmsl