如何读取Excel表格中的Android程序 [英] How to read excel sheets in android program
问题描述
我有29个Excel工作表,我需要在我的code使用一个数据库。我使用的MS Excel,这样我就可以使用XMLParser的获取在我的计划,从它的数据转换为.xml格式的ecxel表。但转换后的文件,我得到了有一个很奇怪的格式,我无法阅读该文件,以及如何将我写的解析器它。任何一个可以建议我如何使用我的项目,这些Excel表。
I have a database of 29 excel sheets which i need to use in my code. I converted those ecxel sheets in .xml format using ms excel so that i can use xmlparser to fetch data from it in my program. But the converted files i got have a very strange format and i am having trouble in reading that file and how will i write parser for it. Can any one suggest how can i use these excel sheets in my project.
给我任何简单的例子,这个小桌子,这样我可以用它来整片
give me any simple example for this small table so that i can use it for whole sheet
Aging_Bucket_Key Aging_Bucket_Type Aging_Bucket_ code Aging_Bucket_Desc
1库存0 - 30日0 - 30天
2库存31 - 60天31 - 60天
3库存61 - 90天61 - 90天
4库存90天以上90天以上
5积压0 - 30日0 - 30日
Aging_Bucket_Key Aging_Bucket_Type Aging_Bucket_Code Aging_Bucket_Desc
1 Inventory 0 - 30 Days 0 - 30 Days
2 Inventory 31 - 60 Days 31 - 60 Days
3 Inventory 61 - 90 Days 61 - 90 Days
4 Inventory More than 90 Days More than 90 Days
5 Backlog 0 - 30 Days 0 - 30 Days
推荐答案
我想你应该下载的http:// JExcelApi的。 sourceforge.net/~~V 库,并试图实现它。该库在Android中提供读取Excel中的数据。
i think you should download http://jexcelapi.sourceforge.net/ library and try to implement it. this library provide read data of excel in android.
这篇关于如何读取Excel表格中的Android程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!