How to convert excel sheet into database of sqlite in android

前端 未结 2 1106
眼角桃花
眼角桃花 2020-12-10 09:51

I have excel sheet on which I need to hit few queries. I have successfully accessed excel sheet in my project but now I have trouble in hitting queries on it because I need

2条回答
  •  渐次进展
    2020-12-10 10:05

    You have a few practical options:

    1. You can open the Excel file directly in the app, as IanNorton said

    2. You can convert the Excel to a SQLite file first, and then drop and read that SQLite file in the app.

      • This tool can convert the Excel file to SQLite for you - http://converttosqlite.com/

    If you want to convert Excel to SQLite and query the SQLite DB in your app , use option #2. But if you just want to read an Excel file straight in your app, use option #1.

提交回复
热议问题