I am creating a app for iPhone in which I am using sqlite to create a database. I wrote a query in which it returns 4 columns with multiple rows. First column have values like indian territory(NORTH,SOUTH,EAST,WEST), in Second column it have the states name which belongs to these territory. There is almost 4 states in each territory, it may increase after some time. Third and fourth column have some no data which is belong to that state. How to show If I clicked in south territory then it should show all the south states in tableview. how to match the state names with its territory and fetch data according to that.
Aucun commentaire:
Enregistrer un commentaire