Monday, August 16, 2010

Can an ASP.net gridview be verticle aligned?

I have a table:





header1 header2 header3


data11 data12 data13


data21 data22 data23


data31 data32 data33





How can I make it like this:


header1 data11 data21 data31


header2 data12 data22 data32


header3 data13 data23 data33





its like this, I have 20 or so headers, and want to show a comparison between 3 datas. So for comparison I need to generate the table verticley not horizontally.





it should be a simple align command but I dont see anything in the control itself to change this. Any help is appreciated.Can an ASP.net gridview be verticle aligned?
The below article exaplains how you can do it.





Hope it helps.

No comments:

Post a Comment