Hello Everyone,
I've scoured internet looking for a way to span a heading over over 2 columns and to no avail. There are many solutions but none are what I'm looking for.
I've attached a excel file with what the gridview should look like.
If you look there are headers that span 2 columns. The columns with Count and Balance should be under these headers.
All the columns in the table are dynamically bound during run time, meaning I create them in code. So with that in mind.
Is there a simple way of doing this?
I've tried using a Gridview row and then adding tablecells and spanning the cells 2 columns but when you export the file it looks like garbage.
Any help would be appreciated!
Thanks,
Yoda.
I've scoured internet looking for a way to span a heading over over 2 columns and to no avail. There are many solutions but none are what I'm looking for.
I've attached a excel file with what the gridview should look like.
If you look there are headers that span 2 columns. The columns with Count and Balance should be under these headers.
All the columns in the table are dynamically bound during run time, meaning I create them in code. So with that in mind.
Is there a simple way of doing this?
I've tried using a Gridview row and then adding tablecells and spanning the cells 2 columns but when you export the file it looks like garbage.
Any help would be appreciated!
Thanks,
Yoda.
Comment