PC Review


Reply
Thread Tools Rate Thread

DataGrid transpose/invert

 
 
=?Utf-8?B?QXNo?=
Guest
Posts: n/a
 
      8th Jul 2004
Hi,

Is there an easy way to transpose/invert a DataGrid?

I'd like to be able to still bind the grid to a 'DataSource' and invert/transpose on the User Interface. Is this possible at all?

Cheers
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QmhhcmF0IEJpeWFuaQ==?=
Guest
Posts: n/a
 
      2nd Aug 2004
Hi Ash,

I guess what u want to do is to change the rows to the columns and columns to rows and then bind to the datagrid. Here is a nice example that solves your problem:

http://www.codeproject.com/cs/databa...n_Datagrid.asp
--
Bharat Biyani ((E-Mail Removed))
http://www.orcim.com



"Ash" wrote:

> Hi,
>
> Is there an easy way to transpose/invert a DataGrid?
>
> I'd like to be able to still bind the grid to a 'DataSource' and invert/transpose on the User Interface. Is this possible at all?
>
> Cheers

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Code to Invert a Datagrid intractably@gmail.com Microsoft C# .NET 0 15th Jul 2006 05:58 PM
Export datagrid to Excel template, transpose ? sweeney_jones@hotmail.com Microsoft ASP .NET 0 18th Aug 2005 10:15 PM
Is there a way to transpose and invert the order of data in Excel. =?Utf-8?B?VHJhbnNQbGFu?= Microsoft Excel Worksheet Functions 1 15th Jul 2005 02:37 PM
Transpose datagrid row to corresponding label text =?Utf-8?B?bHVrZWdyZWdvcnk=?= Microsoft VB .NET 1 5th Apr 2005 07:02 AM
DataGrid transpose/invert =?Utf-8?B?QXNo?= Microsoft Dot NET Framework Forms 0 8th Jul 2004 12:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:41 AM.