Wrox Programmer Forums
|
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional 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 August 10th, 2007, 03:51 AM
Registered User
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Horizontal gridview

I want to show my gridview horizontally.
That headings appear on left side followed by each row vertically.
Actually this is to compare some cars records returned by objectDataSource.

 
Old August 10th, 2007, 04:37 AM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gaurav_jain2403
Default

GridView doesn't support such facility. Use DetailsView instead.
 
Old August 10th, 2007, 06:55 AM
Registered User
 
Join Date: Mar 2007
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

But I want to display multiple records at a time for comparison but details view shows single record at a time


 
Old August 10th, 2007, 07:10 AM
Friend of Wrox
 
Join Date: Feb 2006
Posts: 133
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to gaurav_jain2403
Default

Sorry nedo. I don't have any ideal solution for you in my mind. Let someone help.
 
Old August 10th, 2007, 07:52 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hey there.. you can do something like this but you have to change the view of the grid in the definition of the page at design time (you can have more than a record in each line...)

In any other case you can use a repeater control...

HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========
 
Old August 10th, 2007, 09:30 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Take a look at this post:

http://p2p.wrox.com/topic.asp?TOPIC_ID=32910

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
Horizontal Alignment cc16 Access VBA 0 March 7th, 2006 06:38 PM
horizontal scrolling javascript Adam H-W Javascript 4 December 5th, 2005 07:14 AM
how to disable horizontal scrolling aliinal Javascript 1 October 27th, 2005 01:41 AM
horizontal loop lucian Classic ASP Databases 2 October 14th, 2004 01:51 AM





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