开发者

Sqlitedatabase cursor getString related

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜