How can I remove a row from my gridview in asp.net once I select a record, without affecting the database, ie the list is in memory.
This is the code as I charge my GriewView:
private void Cargar()
{
srvLeyenda = new Srv_Leyenda();
GridView1.DataSource = null;
listadoLeyendas= srvLeyenda.LeerLeyendas();
GridView1.DataSource = listadoLeyendas;
GridView1.DataBind();
}