1 Protected Sub GridView1_RowCreated() Sub GridView1_RowCreated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowCreated 2 If e.Row.RowType = DataControlRowType.DataRow Or e.Row.RowType = DataControlRowType.Header Then 3 e.Row.Cells(4).Visible = False 4 End If 5 End Sub