I want all columns from this query but when I select it as : (Select new { “column1” “column2”}
it doesn’t work. Can someone please help me?
Here you can get my code :
(From row As DataRow In opdt
Group row By TransactionKey = row.Field(Of String)(0) Into Group
Select {TransactionKey, String.Join(“,”, From i In Group Select i.Field(Of String)(18))}).ToList
where how to select multiple columns? as Column0. column1, column2 .
@hemal
it looks like you want to do following:
grouping by Field
ID - is the IndexCounter for the group
Name - Aggregated Name values from the group, separated by comma