Solved

Invest GridView

Posted on 2011-03-10
4
380 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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

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.
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

803 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