You might also like to read this.
http://www.codeproject.com/aspnet/Datatable.asp
It does the same thing in ASP.
shabda.r...@gmail.com wrote:
> I need to flip the cols and rows of a table for display purposes. Say
> my table has three rows and 20 cols I may want to display the data
> after flipping rows as cols. Can anyone point me to the correct place?