开发者

Creating an 2D Array from database table

Could someone present me the simpliest way to pass the data from sqlite table to 2D array?

Lets assume table with columns: _id, date, value

I assume I have to count records in the table before I 开发者_JAVA技巧define an array


The way that I would usually do this is by creating a Struct with the necessary properties (id, date, value in your case), and then have an array to hold the instances of the struct.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜