Solved

Invest GridView

Posted on 2011-03-10
4
388 Views
Last Modified: 2012-05-11
Hello,
I Need  Invest a GridView, actually i have a query with pivot but if i need invest the GridView...

Can I do????
0
Comment
Question by:tenriquez199
  • 2
4 Comments
 
LVL 6

Expert Comment

by:Webmonkey
ID: 35100026
That doesn't make sense.  Could you possibly explain it to someone else and have them re-state your question?
0
 
LVL 1

Author Comment

by:tenriquez199
ID: 35100070
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
 
LVL 35

Accepted Solution

by:
Miguel Oz earned 500 total points
ID: 35100436
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
 
LVL 1

Author Comment

by:tenriquez199
ID: 35100813
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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Ivo
C# And Nullable Types Since 2.0 C# has Nullable(T) Generic Structure. The idea behind is to allow value type objects to have null values just like reference types have. This concerns scenarios where not all data sources have values (like a databa…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question