0

I have a DataTable as follow,

SN   NO  NAME
----------------
a1   1   AA12
a1   2   BB34

How can I use LINQ let this DataTable group by SN and then select where to fill new table like this?

SN   NAME1  NAME2
------------------------
a1   AA12   BB34

I try use group by then where ans select by LINQ, but still fail..Can someone help me? Thanks.

0 Answers0