hello all
in datagridview dgv1 I have two column header ,
column header "Amount" and column header "Date"
I want above these two column there is one header "Realization"
so it look like :
______________________________
| |
| Realization |
|_____________________________|
| | |
| Amount | Date |
|_______________|_____________|
How to do that ?
hope any help
tq denny
Loading

Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 9, 2010, 8:33 PM EST
You can achieve easily just follow the below article. It is exactly what you want:
Merging/Splitting GridView header columns
Please mark as answer if it helps you.
denny simon51 reputationPosted Mar 9, 2010, 11:54 PM EST
thank you for the advice ,but I cannot use it because I use datagridview,not grid view
I tried the same RowCreated even in datagridview but cannot found .
thank you
denny
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 10, 2010, 3:15 AM EST
Download the attach project i have found some thing that can help you. It took lot my time to collect information about how to merge header cells in Datagridview.
I'm sure you'll get hint how to do it after looking at the project code.
Now Please mark as answer to let me know that it helps you.
denny simon51 reputationPosted Mar 10, 2010, 3:59 PM EST
Which attachment ??
tq
denny
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 10, 2010, 7:45 PM EST
Very sorry it was some how not get attached at that time here the file.
And please mark as answer this post.