Solved

Invest GridView

Posted on 2011-03-10
4
396 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 36

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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

Suggested Solutions

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

738 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