Solved

Gridview - Is there a way to have one column in the header accross multiple columns?

Posted on 2008-10-02
2
261 Views
Last Modified: 2013-12-17
I have a gridview that has four columns; however, none of the three columns have their own particular header, but ALL of the three columns share one common header.

For instance,

                    ___________________
Header:       |         NEW BOOK         |
                    ___________________
Data Row 1 | 893   |  John     |  Out   |    
Data Row 2 | 425   |  Ann      |  Out   |

   
0
Comment
Question by:rpatronee
2 Comments
 
LVL 12

Accepted Solution

by:
Pra4444 earned 250 total points
ID: 22627267
Can you not disable gridview header (showheader=false) ??  and just add a label above your gridview with the data you want???


0
 
LVL 26

Expert Comment

by:Anurag Thakur
ID: 22641246
what i will recommend is having only one column in which you display the header but merge the information from 3 columns with a separator for display purposes
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

830 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