1
Reply

Delete from Row in Gridview but not Databse

Azm Amn

Azm Amn

Mar 4 2017 12:10 AM
198
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)