Merging Datagridview Columns
-
Saturday, July 21, 2012 9:12 AM
Month | Company (DCODE=01) | Others (DCODE=02) |
& | Opening | TDS | Closing | Opening| TDS | Closing |
Year | Balance | Deposited | Utilised |Balance | Balance | Deposited | Utilised |Balance |Hi friends,
I'm Sreenivas.
I'm a VB 6.0 Developer.
as a part of my work, I need your help to set a datagridview header in above format.
Is it poosible.
Need your immediate help if u have idea.....
Than'Q
Sreenivas Rao.Boppena
All Replies
-
Saturday, July 21, 2012 12:55 PM
If you ask for merging cells in the DataGridView, I'm afraid, this is not supported. However, if you bing/google for "datagridview merge cells" you will find some examples about custom painting cells. I didn't have a closer look but maybe that's an option.Armin
- Marked As Answer by Mark Liu-lxfModerator Wednesday, August 01, 2012 9:07 AM
-
Monday, July 23, 2012 8:24 AMModerator
Hi Sreenivas,
Firstly you need to show what application it is, VB6 or VB.Net.
If you are used the datagridview in Vb6 application, please refer to this link to find the correct forum: Where to post your VB 6 questions.
As for vb.net application, I’m afraid that you need to draw it by yourself. here is a similar issue with your, please check it:
merge column header cells: http://social.msdn.microsoft.com/Forums/en-US/vbgeneral/thread/aba4216a-b3bc-42ef-a928-881cd0bc8ee4
Hope this helps.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Mark Liu-lxfModerator Wednesday, August 01, 2012 9:07 AM
-
Wednesday, August 01, 2012 9:08 AMModerator
Hi Sreenivas,
We haven’t heard from you for several days. I’d like to mark the helpful replies as answer firstly. If you have any additional questions, you also can unmark the replay and post your question here.
Sorry for any inconvenience and have a nice day.
Mark Liu-lxf [MSFT]
MSDN Community Support | Feedback to us

