I'm often faced with exporting data as CSV. The nature of the outpu is comparable of the PIvotTable feature in excel.
There are sample code to produce simple Pivot in C#. But as you have 2 or more column then things get pretty complicated. I can imagine someone would suggest to use Reporting service or other BI tools but these are no options for our small team.
Could it be that someone had an idea of how to produce pivot outpu of more then 2 columns and one segregated row?
Thanks B