I believed that DataTable which in C# is to hold data which we fetched from DB. I have application where I need to implement something similar in Android using Java. I need to save/hold the data which I fetched from DB for different activity. Can anyone suggest or share how do I achieve this. I tried use ResulSet but ResultSet holds all the data meanwhile I want to get the filtered data where something like DataRow in C#. Please help.
Asked
Active
Viewed 3,836 times
3 Answers
0
If you are using eclipse then you can use SQlite Browser to store your database and then can push data base in ur device by going to Window->Open perspective->other->DDMS how can we push ".db" into emulator? and then u can apply queries on your database. http://www.vogella.de/articles/AndroidSQLite/article.html

Community
- 1
- 1

user182022
- 76
- 7
0
I had the same problem and re-implemented the C# DataTable, DataRow stuff, since Cursors to a SQLiteDatabase don't write back changes to DB, afaik.

Bondax
- 3,143
- 28
- 35