mercredi 3 décembre 2014

getting error updating the sqlite

i doing the project and i am structed in database path,i am using the sqlite database for storing.in this my problems is when i am updating the table,it showing the error.for database part i am using prewritten classes,i am calling that class method whenever i need,see below you can understand. this below code is working fine


[DataCachingHelper updateTable:@"sendertable" data:dic3 where:@"MESSAGE_ID='1234'"];


but when i am sending the object to the "where",it showing some error.


[DataCachingHelper updateTable:@"sendertable" data:dic3 where:@"MESSAGE_ID=%@",@"hai"];


i am getting the "too many arguments to methods call expected 3,have 4".




Aucun commentaire:

Enregistrer un commentaire