开发者

Reason for inserting column value in SQLite database

开发者 https://www.devze.com 2023-01-10 15:04 出处:网络
Friends, I am inserting the xml parsed data into database table,i have the following fields, name,price,image,

Friends, I am inserting the xml parsed data into database table,i have the following fields, name,price,image,

  1. Static insert of name addevent("name",price,image); it's getting inserted well,where i given name field has static.

2.Dynamic insert of names. But when insert the field data from xml parsed value (name) - String , it's being inserted has null value in the table or it's blank value.

开发者_如何学Go

table field data types, name TEXT, price TEXT,image TEXT. Help me fix this problem.

Thank's in advance


How are you trying to insert your dynamic data? Paste the code you are using to insert dynamic data. Are you putting quotes around the "dynamic data"?

Regards,

Sarwar Erfan

0

精彩评论

暂无评论...
验证码 换一张
取 消