从Excel记录导入批量文件使用的是Android对于SQLite [英] Import Bulk of Records from Excel File to SQLite using Android

查看:454
本文介绍了从Excel记录导入批量文件使用的是Android对于SQLite的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有可能插入大容量从MS-Excel的文件记录使用Android.If任何人都可以,请给一个示例code在这里..因为我有在Excel 1100左右的记录SQLite数据库和我有在我的应用程序使用这些记录。谁能帮我节省我的时间......

Is there any possible to insert bulk of records from MS-Excel file to Sqlite Database using Android.If anybody can so please give a sample code here.. Because i have around 1100 records in Excel and i have to use those records in my app. Can anyone help me to save my time...

在此先感谢..

推荐答案

让自己的Sqllite一个OLEDB提供程序,然后连接到可以使用ADO(老同学)数据库,或者您可以使用COM + DLL,你可以激活通过的CreateObject()一个良好的开端是 http://www.sqlite.org/cvstrac /维基p = SqliteWrappers 和一个香港专业教育学院实际上之前 http://dimzon541.narod.ru/使用sqlitex /

Get yourself a OleDB provider for Sqllite, then connecting to the database you could use ADO (old school), or you could use a COM+ dll which you could activate via CreateObject() a good place to start is http://www.sqlite.org/cvstrac/wiki?p=SqliteWrappers and one ive actually used before http://dimzon541.narod.ru/sqlitex/

可能是你可以转换成Excel文件成JSON,然后使用JSON解析您可以重新输入的数据中sqlite的

may be you can convert excel file into JSON and then using JSON parse you can re-entered data in to sqlite

这篇关于从Excel记录导入批量文件使用的是Android对于SQLite的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆