I m retrieving data from sqlite table and filling it in tableview
//get notes saved to database
NSString *selectQuery=@"select * from ATTACHABLEITEM where ATYPE='notes'";
NSArray *notesarray=[delegate.database executeQuery:selectQuery];
[table dictionaryWithValuesForKeys:notesarray];
this is going wrong.what is the right way to do so?