1
Answer

Delete from Row in Gridview but not Databse

Azm Amn

Azm Amn

8y
1k
1
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)