Hi All,
need to convert datatable to pivot table using linq C#
| Role Name | Screen Name | IsGranted | Role Id |
| Admin | Project | false | 1 |
| Admin | Master | true | 1 |
| PM | Master | true | 2 |
| PM | Project | false | 2 |
Expected output is
| Role Name | Project | Master | |
| Admin | false | true | |
| PM | false | true | |
How to achieve the above in linq C#


Mageshwaran RRank #411 · 6.1K reputationPosted Dec 21, 2020, 12:14 PM EST
Sachin SinghRank #66 · 26.2K reputationPosted Dec 21, 2020, 12:20 PM EST