0

enter image description herei have some issue in inserting data to sqlite database

if ([elementName isEqualToString:conte]) { 
self.xcontetnts =[[NSString alloc] initWithString: currentString]; 
arrayContents = [NSMutableArray arrayWithObjects:xids,xcontetntsposition,xfiles,xduration ,xtime_offset,nil]; 
NSLog(@"arrayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy %@",arrayContents); 
[db writeContents]; 
}

my writeContents method is i'm showing my screen short i got like this type of errors

Error: Ƀ^]√
Gurumoorthy Arumugam
  • 2,129
  • 1
  • 25
  • 40
  • 1
    add that statement like '%@' not as \"%@" try then tell me. + what is this dbID hope it`s not auto incremented col. prop. – AJPatel Mar 16 '12 at 05:27
  • see below link http://stackoverflow.com/questions/5508978/how-to-add-database-and-nsxmlparser-into-application – hayden Mar 17 '12 at 05:56

0 Answers0