while(sqlite3_step(compiledStatement) == SQLITE_ROW) {
// Read the data from the result row
NSLog(@"WHILE IS OK");
//// THIS NEXT STATEMENT ////
NSString *araci = [[NSString alloc] stringWithUTF8String:(char *)
sqlite3_column_text(compiledStatement, 1)];**
[deneme addObject:araci];
NSLog(@"Data read");
NSLog(@"wow: %",araci);
}
Il lance une exception comme ci-dessous:Je ne peux pas récupérer une valeur de ma table
[NSPlaceholderString stringWithUTF8String:]: unrecognized selector sent to instance 0x3d0c0c0'
quel est le problème avec la déclaration indiquée? J'ai utilisé sqlitemanager. J'ai 3 attributs dans ma table relativement id(integer), name(text), desc(text)
. Aussi, j'ai une rangée par exemple. Je ne peux pas récupérer le nom.
très merci mec .. – user310000
pas de problème! J'espère que cela a fonctionné. – bio18