Click here to Skip to main content
15,890,897 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to create the column header like

Datagrid view Columns is

Column[0]=S.No
Column[1]=Name
Column[2]=Class
Under the Column[2], I want to create Four Columns like A,B,C,D

Please reply as soon as possible
Posted

Hi,

I think that you can be interested on this article:

DataGridView – Stacked Header[^]

I didnt' tried it by myself, but it looks good.
 
Share this answer
 
DatatGridView doesn't support it.
You can use DevExpress component that allow create subcolumns: BandedGridView
 
Share this answer
 
v2

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