Please let me know how to achieve pivot in linq.
I can do it in sql but it needs to be done in linq for using in mvc application.
Hi tsakumar81,
Please refer below links.
https://stackoverflow.com/questions/11211283/pivot-logic-linq-on-datatable
https://techbrij.com/pivot-c-array-datatable-convert-column-to-row-linq
© COPYRIGHT 2024 ASPSnippets.com ALL RIGHTS RESERVED.