Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Multi Column Header

views
     
TSwilstroth
post Mar 9 2006, 05:22 PM, updated 19y ago

Getting Started
**
Junior Member
67 posts

Joined: Nov 2004


Hi All experts,

I have been searching the web for some solution but couldn't find one. Therefore i need some advice on how to approach my problem


Problem:
I am using a datagridview. In this datagridview i need to have 2 column headers in one column header. I couldn't do this and need some advice how to do it.

For example:

-------------------------------------------------
Column Header A
-------------------------------------------------
Column Header A1 Column Header A2
-------------------------------------------------

How do i do the above in datagridview?

I will be very happy if someone could shed some light into this matter.

P/s : I am using VB .NET and SQL Server

Thanks

William Wilstroth
SAP R/3 and .NET

This post has been edited by wilstroth: Mar 9 2006, 05:23 PM
anthony_yio
post Mar 9 2006, 10:09 PM

........
Group Icon
Elite
1,828 posts

Joined: Jan 2003


QUOTE(wilstroth @ Mar 9 2006, 05:22 PM)
Hi All experts,

I have been searching the web for some solution but couldn't find one. Therefore i need some advice on how to approach my problem
Problem:
I am using a datagridview. In this datagridview i need to have 2 column headers in one column header. I couldn't do this and need some advice how to do it.

For example:

-------------------------------------------------
          Column Header A                     
-------------------------------------------------
Column Header A1 Column Header A2
-------------------------------------------------

How do i do the above in datagridview?

I will be very happy if someone could shed some light into this matter.

P/s : I am using VB .NET and SQL Server

Thanks

William Wilstroth
SAP R/3 and .NET
*
Have you exhausted the search MSDN on the control that you are using?
What is the name of the class (in full namespace e.g. System.String) Have you tried searching using that full name?

In worst case, you might need to write a custom control.




PrinceHamsap
post Mar 10 2006, 09:50 AM

Legendary
******
Senior Member
1,637 posts

Joined: Jan 2003
From: Munich , Bangkok, Barcelona , KualaLumpur


sorry off topic
btw William
i saw you signature SAP R/3 and .NET ...
do you do integration between both?
TSwilstroth
post Mar 10 2006, 01:14 PM

Getting Started
**
Junior Member
67 posts

Joined: Nov 2004


QUOTE(PrinceHamsap @ Mar 10 2006, 09:50 AM)
sorry off topic
btw William
i saw you signature SAP R/3 and .NET ...
do you do integration between both?
*
No, the problem that i am facing is .NET alone. I am experiencing some difficulty in datagridview to have 2 column headers under one column header.


TSwilstroth
post Mar 10 2006, 01:16 PM

Getting Started
**
Junior Member
67 posts

Joined: Nov 2004


QUOTE(anthony_yio @ Mar 9 2006, 10:09 PM)
Have you exhausted the search MSDN on the control that you are using?
What is the name of the class (in full namespace e.g. System.String) Have you tried searching using that full name?

In worst case, you might need to write a custom control.
*
i will look into it so that there will be two columns header under one column header.

Thanks.
shinchan^^
post Mar 10 2006, 03:25 PM

K66
*********
All Stars
21,256 posts

Joined: Jan 2003
From: Pekopon


u can always use code to add header/column
frequency
post Mar 10 2006, 03:28 PM

我要挑战十个!
*******
Senior Member
2,552 posts

Joined: Jan 2003


If u re developing the web application, u should read this
http://www.codeproject.com/aspnet/MergeDatagridHeader.asp

 

Change to:
| Lo-Fi Version
0.0156sec    0.44    5 queries    GZIP Disabled
Time is now: 28th March 2024 - 09:23 PM