Click here to Skip to main content
15,922,407 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Experts
  Skills    Tag            EmpID
                        0
C#  Programming
SQL Database
HR  Domain
                1
VB.NET  Programming
SQL Database
Tarvell Domain
                2
Java    Programming
Oracle  Database
Retail  Domain

this the result of datatable.
i want to convert this data table in following result set in LINQ
EmpID Skill1 Skill2 Skill3
1       C#      SQL    HR
2       VB.NET   SQL  Travell
3       Java     Orqacle Retail
Posted

1 solution

Check this link

pivot-data-using-linq[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900