1. Alexis Colon Lugo
  2. as SQLite DB Server
  3. Пятница, Август 30 2019, 06:39 PM
  4.  Подписаться через email
Do you have an example of read from sqlite rest and fill ListBox with the data.

i am using iOS_vSQLite_Fast

There are no comments made yet.
Sergey Pashkov Ответ принят
Hi Alexis,

No, there is no specific example but you can do it using ParseJSON method from Xojo.

You should modify the method PageReceived of mSQLSocket socket

Dim str As Text

Dim dict As Xojo.Core.Dictionary = Xojo.Data.ParseJSON( Xojo.Core.TextEncoding.UTF8.ConvertDataToText( Content ) )

Dim records() As Auto = dict.Value("records")
Dim values() As Auto

For Each values In records
str = str + values(1)

You can replace "str = str + values(1)" with your implementation which fills the list box - values(1) is a value of the second field.
There are no comments made yet.
Ivan Smahin Ответ принят
Probably it would be helpful:


The only difference is "SQLite" instead of "Valentina" as a "vendor".
There are no comments made yet.
  • Страница :
  • 1

There are no replies made for this post yet.
However, you are not allowed to reply to this post.