GridView1.Columns(0).Visible = False
GridView1.RowDataBound
protected void bla_RowCreated(object sender, GridViewRowEventArgs e) { e.Row.Cells[0].Visible = false; // hides the first column }
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e) { e.Row.Cells[0].Visible = false; }
protected void GridviewRowCreated(object sender,GridViewRowEventArgs e) { e.Row.Cells[indexofcolumn].Visible = false; }
e.Row.Cells[0].Visible = false;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)