简体   繁体   English

如何从数组中的数据库中收集数据,然后将数据用于表视图的每一行

[英]how to collect the data from database in array and then put that data for each row of table view in objective-c

i want to collect the data from database in the array and then after put that in each cell of the table view. 我想从数组中的数据库中收集数据,然后将其放在表视图的每个单元格中。

i dont know how to retrieve the data in array for select * from tablename for single row. 我不知道如何从单行的表名中检索select *数组中的数据。

If you're talking about a Core Data database, doing this tutorial from developer.apple.com should give you an idea of how to do it. 如果您正在谈论核心数据数据库,请从developer.apple.com上完成本教程可以使您了解如何做。

Sam 山姆

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM