0
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);
}
檢索值,則拋出一個異常象下面這樣:我無法從我的表
[NSPlaceholderString stringWithUTF8String:]: unrecognized selector sent to instance 0x3d0c0c0'
什麼是與指定的語句問題?我用sqlitemanager。我在我的表相對id(integer), name(text), desc(text)
3個屬性。另外,我有一行例如。我無法檢索該名稱。
非常感謝兄弟們.. – user310000 2010-04-20 11:23:02
沒問題!希望它解決。 – bio18 2010-05-10 23:09:02