开发者

how to show data on tableview

开发者 https://www.devze.com 2023-02-15 05:48 出处:网络
I created a simple SQLite database. in database create a table table1,in table1 has two column. inserted tow data record.

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

精彩评论

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