// if you want hide/show in page load go for RowDataBound event. protected void gvTesting_RowDataBound(object sender, GridViewRowEventArgs e) { //for column 1 if(status==1) { gvTesting.Columns[0].Visible = true; } else { gvTesting.Columns[0].Visible = true; } }
gvTesting.Columns("Name").Visible = true
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)