【发布时间】:2013-03-19 09:10:55
【问题描述】:
我正在开发一个系统,用户需要能够将 excel 文件上传到服务器,然后系统需要处理 excel 文件以将数据加载到 XMPie uProduce 系统中。
我已经可以将 CSV 文件加载到系统中了。我可以确认excel文件已成功上传到服务器。但是,当我的程序尝试访问 excel 文件以读取数据时,会出现以下错误:
The Microsoft Jet database engine could not find the object 'Sheet1'. Make sure the object exists and that you spell its name and the path name correctly.
我将过滤器设置为:
select * from [Sheet1]
我也试过这样:
select * from [filename.xls]
两者都没有奏效。有没有人对从数据库中提取数据的 SQL 过滤器有什么建议?
【问题讨论】:
标签: java excel file-upload