it’s been a long time since I wrote and I promise I will pick up the pace. But now lets get down to business how to hide columns in a grid view:

The first thing that comes to mind is going to the definition of the columns in the GridView, go to the column “Go” and put the Visible property to false. When you run the code and access the value we see that there is nothing in that cell. This is because since. NET “releases” the binding because it sees that the Visible property is false. We want the DataBinding we just don’t want to show the column. To solve this we will have to register to the RowCreated event as follows: