all groups > asp.net datagrid control > november 2003 >
You're in the

asp.net datagrid control

group:

Inverting DataGrid columns and rows in excel



Inverting DataGrid columns and rows in excel Jack Mullins
11/26/2003 7:31:15 AM
asp.net datagrid control: I am populating a datagrid and allowing it to be exported as an excel spreadsheet but my internal customer needs the columns and rows inverted. Any help will be appreciated. Asp.Net, Office XP, Visual Studio.Net 200
Jac
Re: Inverting DataGrid columns and rows in excel Alvin Bruney
11/27/2003 11:15:44 AM
Excel renders whatever the grid looks like so you need to get the grid to
conform first. Here is some code to flip rows with columns


http://www.networkip.net/tidbits/flip.htm
--
Regards,
Alvin Bruney
Got Tidbits? Get it here
www.networkip.net/tidbits
[quoted text, click to view]
spreadsheet but my internal customer needs the columns and rows inverted.
Any help will be appreciated. Asp.Net, Office XP, Visual Studio.Net 2002
[quoted text, click to view]

Re: Inverting DataGrid columns and rows in excel Jack Mullins
12/2/2003 6:16:10 AM
AddThis Social Bookmark Button