store images into sqlite database

后端 未结 4 1730
既然无缘
既然无缘 2021-01-24 08:08

Below is my code to store images in the sqlite database. When I used it to store values it works and now I\'m trying to store images in sqlite database. I don\'t know what I\'m

4条回答
  •  故里飘歌
    2021-01-24 08:44

      const char *insertSQL="insert into Persons(PersonName,CompanyName,ImgUrl,PersonImage)values(?,?)"
    

    You have 4 values to insert into your table & only 2 placeholders for the parameters. Correct them.

    Heck I ain't an iOS developer

提交回复
热议问题