I have to transpose the below datatable using linq
Below is the sample input datatable i have
CC | Total | Blocked |
---|---|---|
A | 1500 | 150 |
B | 2000 | 200 |
C | 1000 | 100 |
D | 2500 | 250 |
E | 3000 | 300 |
I want to achieve the below result
A | B | C | D | E |
---|---|---|---|---|
1500 | 2000 | 1000 | 2500 | 3000 |
150 | 200 | 100 | 250 | 300 |