Protected Sub GridView_Merge_Header_RowCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowCreated
If e.Row.RowType = DataControlRowType.Header Then
Dim oGridView As GridView = DirectCast(sender, GridView)
Dim oGridViewRow As New GridViewRow(0, 0, DataControlRowType.Header, DataControlRowState.Normal)
Dim oTableCell As New TableCell()
oGridViewRow.Cells.Add(oTableCell)
oTableCell = New TableCell()
oTableCell.Text = ""
oTableCell.HorizontalAlign = HorizontalAlign.Center
oTableCell.ColumnSpan = 1
oGridViewRow.Cells.Add(oTableCell)
oTableCell = New TableCell()
oTableCell.Text = ""
oTableCell.HorizontalAlign = HorizontalAlign.Center
oTableCell.ColumnSpan = 1
oGridViewRow.Cells.Add(oTableCell)
oTableCell = New TableCell()
oTableCell.Text = "Advan-Re-Imbrusment"
oTableCell.HorizontalAlign = HorizontalAlign.Center
oTableCell.ColumnSpan = 5
oGridViewRow.Cells.Add(oTableCell)
oTableCell = New TableCell()
oTableCell.Text = ""
oTableCell.HorizontalAlign = HorizontalAlign.Center
oTableCell.ColumnSpan = 1
oGridViewRow.Cells.Add(oTableCell)
oGridView.Controls(0).Controls.AddAt(0, oGridViewRow)
End If
End Sub