I am using an sqlite database to store my information in my iPhone app. I want retrieve information from my database and put it into a table view.
So now what I want to do is take that info and put it into an array. So this is my simple query:
NSString *querySQL = [NSString stringWithFormat:
@"select department from studentsDetail"];
So what I want to do is take the results from this query (department) and put that info into an array (department). There will be multiple data entries for the department column.
Aucun commentaire:
Enregistrer un commentaire