Hi I'm trying to connect to my sql server from android. I am at the beginning, that is, with the connection and I am already at rest
I wrote this with my credentials but it never initializes
Sub Button1_Click
Dim db As MYSQL
Dim L As List
db.setDatabase("LAPTOP-33333333","SQLTutorial","pippo","pippo")
L = db.Query("Select * FROM Products")
If L.IsInitialized=False Then
Msgbox("Records Not Found","Warning")
Return
Else
For i = 0 To L.Size
ListView1.AddSingleLine(L.Get(i))
Next
End If
End Sub
I wrote this with my credentials but it never initializes
Sub Button1_Click
Dim db As MYSQL
Dim L As List
db.setDatabase("LAPTOP-33333333","SQLTutorial","pippo","pippo")
L = db.Query("Select * FROM Products")
If L.IsInitialized=False Then
Msgbox("Records Not Found","Warning")
Return
Else
For i = 0 To L.Size
ListView1.AddSingleLine(L.Get(i))
Next
End If
End Sub