问题描述
有没有可能插入大容量从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()一个良好的开端是和一个香港专业教育学院实际上之前
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!