Try this:
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
e.Row.Cells[0].Visible = false;
}
Have a look on this CP article:
Show / Hide GridView Columns in ASP.NET[
^]
This article demonstrates how to give users the ability to
show or hide GridView
columns as they require.