[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 411
  • Last Modified:

Invest GridView

Hello,
I Need  Invest a GridView, actually i have a query with pivot but if i need invest the GridView...

Can I do????
0
tenriquez199
Asked:
tenriquez199
  • 2
1 Solution
 
WebmonkeyCommented:
That doesn't make sense.  Could you possibly explain it to someone else and have them re-state your question?
0
 
tenriquez199Author Commented:
Ohmg....

I need the GridView in C# .NET like this:::

              column 1      column 2      column 3
row1
row2
row3

By design i need invest GridView, like this:::

              row 1      row 2      row 3
column1
column2
column3

Actually I do with a pivot in my query but i need that the invest be to code or with a property of GridView...

0
 
Miguel OzSoftware EngineerCommented:
Check:
http://codemaverick.blogspot.com/2008/02/transpose-datagrid-or-gridview-by.html
http://dotnetspeaks.net/post/Pivot-or-Transpose-Rows-in-GridView-using-LINQ.aspx
I have not seen anything any gridview property that transpose row/columns, it has to be done in code outside the gridview.
0
 
tenriquez199Author Commented:
mas_oz2003... Your post it's excellent i do it and it's work but when i try to do this with SQLDATASOURCE, it doesnt work.....

Sorry i forget tell that i use a SQLDATASOURCE to fill GridView
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now