Asp.net 在'之后缺少操作数;由';操作人员
当我使用:Asp.net 在'之后缺少操作数;由';操作人员,asp.net,vb.net,Asp.net,Vb.net,当我使用: ds.Tables(0).Compute("sum(Quantity)", "group by ORI_No") 对数量进行分组和求和 然后 它将错误显示为: Missing operand after 'by' operator 第二个参数filter,确定表达式中使用的行。无法在Compute中执行分组。我建议您使用LinQ进行分组。类似的帖子,使用
ds.Tables(0).Compute("sum(Quantity)", "group by ORI_No")
对数量进行分组和求和
然后
它将错误显示为:
Missing operand after 'by' operator
第二个参数
filter
,确定表达式中使用的行。无法在Compute
中执行分组。我建议您使用LinQ进行分组。类似的帖子,使用