Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 7th, 2004, 09:52 AM
Authorized User
 
Join Date: Aug 2004
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to macupryk Send a message via Yahoo to macupryk
Default Easiest way to change the orientation of a DGrid

How can I display the rows vertically and columns horizontally in a datagrid?
Does any one know of an easy way to change the orientation
of a datagrid display? I would like to display
the "Columns /(Headers)" as Rows. I.E.
_______ _______ ______
Column 1 | cell1 | cell2 | cell3|
=========|_______|_______|______|
Column 2 | cell1 | cell2 | cell3|
=========|_______|_______|______|
Column 3 | cell1 | cell2 | cell3|
=========|_______|_______|______|
etc....

Knowledge is to be shared.
__________________
Knowledge is to be shared.
 
Old October 7th, 2004, 11:25 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

I'm not 100% sure, but I don't think a datagrid will allow you to do that.

You can build your own table and return it to a literal control.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Easiest/Recommended Navigation Menu Control/Soluti andhuang ASP.NET 2.0 Professional 0 February 7th, 2007 04:13 PM
how to change printer orientation from vb6 pkhussain VB How-To 3 January 3rd, 2007 03:30 AM
Dgrid control states in DataGrid dungerdanish General .NET 0 March 28th, 2005 06:42 AM
IsThere A way Easiest to clear Log File alyeng2000 SQL Server 2000 3 August 5th, 2004 04:10 PM
When more than one field in a primery key - DGrid ManoYaka ASP.NET 1.0 and 1.1 Basics 3 January 21st, 2004 09:27 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.