GridView1.Columns[1].Visible=true;
foreach (GridViewRow gvr in gv.Rows) { //here specify cell you want to hide //also you may put any conditions gvr.Cells[0].Visible = false; // Hide cell }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)