protected void btnFiltro_Click(object sender, EventArgs e) { if (txtIdLista.Text != "") { try { if (ic.EliminaInventario(Convert.ToInt32(txtIdLista.Text)) != "Error") { Response.Redirect("Informe_Inventario_Listas.aspx"); } }catch (Exception ex) { } } }