Some times, may have the conditions where developer need to hide the Gridview Column. We need to remember that every columns in gridview have a Column value. Which starts from 0.
First column - 0 index
Second Column - 1 index
To Hide the Grid Columns we 'll use this line. We will give the address of column.
GridView1.Columns[0].Visible = false;
It means we are hiding the first column of the gridview.