Skip to content Skip to sidebar Skip to footer

Sqlite Cursor Never Has Fields In It

I am trying to retrieve fields from a table in a SQLite database. I've verified that the data is in the table by using the sqlite3 command and running the query which I got out of

Solution 1:

make sure the column names u are giving is correct...

Solution 2:

I was closing the database connection before reading the data out of the Cursor. Apparently you can't do that. Now I know!

Post a Comment for "Sqlite Cursor Never Has Fields In It"