public int EliminarR(object obj) { int status = 0; status = Tipo_Ser.EliminarEvento(obj); return(status); }
protected void Button3_Click(object sender, EventArgs e) { bo.IDUsuario = Convert.ToInt32(Session["IDUsuario"]); bo.IDEvento = txtIDEvento.Text; if (dao.EliminarEvento(bo) != 0) { Response.Write("<script language=javascript>alert('Evento Eliminado');</script>"); } else { Response.Write("<script language=javascript>alert('Algo salio mal');</script>"); } Limpiar(); MostrarTabla(); }