Solved

gridview - 2 lines in 1 row

Posted on 2006-07-19
4
231 Views
Last Modified: 2010-04-23
My question is about gridviews.  I have two names associated with each row & instead of putting them in different columns I would like them to be in the same column but separate lines in the row.  Any help would be appreciated. Thanks.
0
Comment
Question by:handicomp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Expert Comment

by:jjardine
ID: 17140369
I believe that you would have to do some custom extension to the gridview.  By default the gridview does not support header merges..   It sounds like that is what you are trying to do.  You could always look at infragistics controls that support column merging.
0
 
LVL 19

Expert Comment

by:arif_eqbal
ID: 17143805
is it like First Name and Last Name columns, and you want to show the Full Name instead by merging data from these two cols ?
and it is a Windows App is it ?
0
 

Author Comment

by:handicomp
ID: 17145374
Yes it is a Windows App.  Here's what I need:

Team 1      Player 1
                 Player 2
-----------------------------------------------
Team 2      Player 1
                 Player 2
-----------------------------------------------

I've been thinking about it & it seems like the way to do it might be to use color to make it look like it is 1 row when it really is 2.
0
 
LVL 14

Accepted Solution

by:
jjardine earned 500 total points
ID: 17145709
Take a look at this blog.  It describes this functionality.  I think it is setting the rowspan value.

http://blogs.msdn.com/mattdotson/articles/541795.aspx
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

724 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