开发者

Sqlitedatabase cursor getString related

开发者 https://www.devze.com 2023-03-08 23:04 出处:网络
I have a sqlitedatabase which has table lets say \"ABC\" and this table has a column lets say \"X\". While creating the table i mentioned the data type of column X to \"text\". And i store current mil

I have a sqlitedatabase which has table lets say "ABC" and this table has a column lets say "X". While creating the table i mentioned the data type of column X to "text". And i store current milliseconds time in this column. But the problem is mentioned below.

  1. I get the cursor by running the query on this table "ABC"
  2. I check the cursor that it has got rows.
  3. When i try to get the value of column "X" by using cursor.getString method 开发者_高级运维then it throws the numberFormatException.

please suggest any reason for this...

Thanks Dalvinder Singh

0

精彩评论

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