Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vb.net/17.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Asp.net 在'之后缺少操作数;由';操作人员_Asp.net_Vb.net - Fatal编程技术网

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进行分组。

类似的帖子,使用