By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,894 Members | 1,942 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,894 IT Pros & Developers. It's quick & easy.

DataGridView: Column Header with 2 lines

P: n/a
I want to create columns in my DataGridView just like that:

______________________________________
|________________Taxes________________|
|_______Tax 1_______|______Tax 2______|
| 3,50 | 4,50 |
| 6,60 | 4,22 |
But how do I make column headers with 2 levels, and merge the first
row?

Thanks.

Sep 22 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Osman,

You can always try to set the DataGridView on a panel with some labels above
it, if you center that a little bit, than the place will in most situations
be right.

Cor

"osmarjunior" <os*********@gmail.comschreef in bericht
news:11**********************@i42g2000cwa.googlegr oups.com...
>I want to create columns in my DataGridView just like that:

______________________________________
|________________Taxes________________|
|_______Tax 1_______|______Tax 2______|
| 3,50 | 4,50 |
| 6,60 | 4,22 |
But how do I make column headers with 2 levels, and merge the first
row?

Thanks.

Sep 23 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.