应为“Group”或标识符。'Group' or an identifier expected

IntoGroup By 子句的 Group Join 部分不包括 Group 关键字。The Into portion of a Group By or Group Join clause does not include the Group keyword. 必须在 GroupInto 子句的 Group By 子句中包括 Group Join 关键字,以标识要用于分组结果的变量名称。You must include the Group keyword in the Into clause of a Group By or Group Join clause to identify the variable name to use for the grouped results. 这可以是你指定的名称或关键字 GroupThis can be either a name you specify or the keyword Group.

错误 ID: BC36707Error ID: BC36707

更正此错误To correct this error

  1. 确保 IntoGroup By 子句的 Group Join 部分包括 Group 关键字,如下面的示例中所示。Ensure that the Into portion of the Group By or Group Join clause includes the Group keyword, as shown in the following example.
Dim orders = From order In orderList _  
             Order By order.OrderDate _  
             Group By OrderDate = order.OrderDate _  
             Into OrdersByDate = Group  

请参阅See also