Solved

Invest GridView

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now