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.
- I get the cursor by running the query on this table "ABC"
- I check the cursor that it has got rows.
- 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
精彩评论