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 ChoudharyPosted Mar 11, 2010, 12:45 AM
Very sorry it was some how not get attached at that time here the file.
And please mark as answer this post.
denny simonPosted Mar 10, 2010, 8:59 PM
Which attachment ??
tq
denny
Amit ChoudharyPosted Mar 10, 2010, 8:15 AM
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 simonPosted Mar 10, 2010, 4:54 AM
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 ChoudharyPosted Mar 10, 2010, 1:33 AM
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.