Click here to Skip to main content
15,905,612 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
-------------------------------------------------|
ABC Data                                                           |
-------|-----------------------------------------|
Item1 | Item31 | Item32 | Item33                       |
-------|-----------------------------------------|
Item2 | Item41 | Item42 | Item43                       |
-------------------------------------------------|
PQR Data                                                           |
-------|-----------------------------------------|
ItemP1 | ItemP31 | ItemP32 | ItemP33               |
-------|-----------------------------------------|
ItemP2 | ItemP41 | ItemP42 | ItemP43               |
-------------------------------------------------|



I need to Preview like this in DatagridView
Please Help me.
Posted
Comments
What have you tried ? And where are you stuck ?
hareshdgr8 25-May-13 3:28am    
i want to merge my cells depend upon rows
like

in first rows
ABC in first cells other cells i have to merge
second rows i don't want to merge cells

1 solution

Follow -

1. Merge cells in datagridview[^].
Quote:
You'll have to implement the OnPaint Event and do it yourself. Here[^] is an example. You could also check out SourceGrid[^]

2. How can i merge two Cells Of Datagridview control in VB.net.[^].
3. How to merge the cells in datagridview in windows forms vb.net[^]
 
Share this answer
 
Comments
Maciej Los 25-May-13 7:06am    
+5
Thanks @Maciej Los... :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900