开发者

how to show data on tableview

I created a simple SQLite database. in database create a table table1,in table1 has two column. inserted tow data record. i 开发者_开发百科want to show table1 Data on tableview. how do this? thank for help.


If you columns are fixed to 2,then take xml file otherwise create dynamic tableLayout and create each row programmatically.

see below example for dynamic creation of tableRows.

see this

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜