Solved

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

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Asp/Net Validation date Issue 9 38
Paging GridView 7 34
Rolling back a sequence of stored procedures 12 27
Asp.net mvc 5 5 19
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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