Azm Amn

Azm Amn

  • NA
  • 108
  • 18k

Delete from Row in Gridview but not Databse

Mar 4 2017 12:10 AM
Hi,
 
I have the following code,
 
protected void Button1_Click(object sender, EventArgs e)
{
GridView1.SelectedRow.Visible = false;
}
 
the above code hides the row in gridview but when I load the page again the hidden row is still visible. Is there a way to not display the selected row, even if the page is loaded again. 
 

Answers (1)