Solved

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

Posted on 2008-10-02
2
258 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Help with sorting data in Listbox using VB.NET 3 53
asp.net mvc input file 2 32
SQL Login 17 38
I need help making a collection from a class in VB.Net 3 25
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

911 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now