Just hide the cell after binding the entire GridView in the DataBound event:
Protected Sub GridView1_DataBound(sender As Object, e As EventArgs)
GridView1.HeaderRow.Cells(1).Visible = False
End Sub
<asp:GridView ID="GridView1" runat="server" OnDataBound="GridView1_DataBound">
Just be aware that this only hides the contents of the header cell, not the entire column.
source
share