0

我正在从我的 asp.net 页面从 Excel 中检索数据
WorkSheet 名称是 StatusPasPorts。

当我删除 [Account Reference No.] 列时,它确实可以正常工作,但如果我使用它,我会得到

error : '' is not a valid name. Make sure that it does not include invalid characters or punctuation and that it is not too long.

SELECT [Event Date],[Mobile Number],[Event Type Name],[Identification Method],[Customer DOB],[Account Reference No.] FROM [StatusPasPorts$] where Date] ASC

任何想法缺少什么?

4

1 回答 1

0

尝试删除列名称末尾的点 - 'Account Reference No.' 将其命名为“帐户参考号”

于 2015-10-17T11:13:14.030 回答