1. Alexis Colon Lugo
  2. as SQLite DB Server
  3. 金, 8月 30 2019, 06:39 PM
  4.  メールで購読
Hi
Do you have an example of read from sqlite rest and fill ListBox with the data.

i am using iOS_vSQLite_Fast

thanks
コメント
There are no comments made yet.
Ivan Smahin 承諾済みの回答
Probably it would be helpful:

http://valentina-db.com/docs/dokuwiki/v9/doku.php?id=valentina:articles:vserver_rest

The only difference is "SQLite" instead of "Valentina" as a "vendor".
コメント
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)
Next


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.
  • ページ :
  • 1


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

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories