Cross Tab or Pivot Data Table
This article gives you a VB.NET function that pivot the data table.
The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Cross Tab or Pivot Data Table

Angel FalconPosted Nov 30, 2012, 6:07 AM EST
worked great, can you tell me how would you sort the headers, I have dates on them and would like for them to go descending order. Thanks
kikumu jacobPosted Sep 19, 2011, 4:27 AM EDT
Thanks it worked well
uuganbaatar davaaPosted Dec 1, 2010, 5:18 PM EST
Dear Superna Parajuli, i can't that code, if school and Expense2 column added... please send me that vb code. Month School Department Expense1 Expense2
Igor KrinetskyPosted Nov 19, 2010, 1:12 AM EST
Hello! I'm Think what you insert tblB but need tblA into function CrossTab. If not, please tell me how you put data from A to B Thanks! Igor