I need to group columns using linq dynamically i.e. user will select table and columns at runtime.
Ex: The above table has Territory,
State, BankName,
Assume user has selected these columns for grouping (Territory,Bank Name)
How can use linq to do this?