hi, i am having a gridview in which i'm trying to create colspan for header rows only! http://yfrog.com/58gvcolpsnag this image will explain my problem after colspan two cells dispalying i want to get rid of them any help? the code to create colspan is in rowdatabound event. If e.Row.RowType = DataControlRowType.Header Then If e.Row.Cells(5).Text = "Planned" Then e.Row.Cells(6).Text = "" e.Row.Cells(7).Text = "" With e.Row.Cells(5) .ColumnSpan = 3 .HorizontalAlign = HorizontalAlign.Center .Text = "Planned" & "" & "St.Date" & " " & "En.Date" & " " & "Days" & " " .Style.Add("border", "none") End With