我有以下代码看起来完全正常,但不断抛出错误:“无法分配方法spreadsheetAddRow的结果,因为它不返回值”此错误发生在我添加标题的行。没有什么看似不合适,广泛的谷歌搜索没有帮助找到任何有类似错误的人。希望社区能够提供帮助!
Length is one 111 a
Length is one 111 a
Length is one
Length is one 111
Length is one 111
Rotor is not a palindrome
答案 0 :(得分:4)
改变这个:
<cfset headerRow = spreadsheetAddRow
(newSheet,'ContactID,FirstName,LastName,Organization,RegisterDate,Approve,Deny')>
到此:
<cfset spreadsheetAddRow
(newSheet,'ContactID,FirstName,LastName,Organization,RegisterDate,Approve,Deny')>
换句话说,删除变量headerRow。