Alex
Alex

Reputation: 9720

Create gridview with 2 rows in header

I want to create gridview with 2 rows in head, something like this: enter image description here

Upvotes: 0

Views: 5257

Answers (2)

Johnny DropTables
Johnny DropTables

Reputation: 656

Use colspan:

<td colspan="2">1</td>

Upvotes: 0

Pranay Rana
Pranay Rana

Reputation: 176916

You need to do merging in the gidview header following is article linki that will help you to achieve same thing

GridView column header merging in ASP.NET

Merge Header - GridView/DataGrid

Upvotes: 2

Related Questions