Hi can someone help me with this Please
I am try to get record from database when I click on listview
but I get error
String cannot be cast to eg.islenska_app.main$_farslur
Regards
Sigster
I am try to get record from database when I click on listview
but I get error
String cannot be cast to eg.islenska_app.main$_farslur
B4X:
Sub ListView1_ItemClick (Position As Int, Value As Object)
Dim Cursor As Cursor
Dim tt As personangsmnn
tt = Value
Cursor = SQL.ExecQuery("select * FROM landshluti where forrit like '" & tt.forrit & "%' order by forrit;")
Cursor.Position = 0
labopid.Text = Cursor.GetString("slod")
Cursor.Close
End Sub
Regards
Sigster