Esempio n. 1
0
    protected void Button2_Click1(object sender, EventArgs e)
    {
        Asignaciones ingresar = new Asignaciones();

        ingresar.ingresarBD(Session["asignacion2"] as List <Asignacion>, Convert.ToInt32(Session["idproducto"]), Convert.ToInt32(Session["entregado"]));
#pragma warning disable CS0618 // Type or member is obsolete
        RegisterStartupScript("mensaje", "<script type='text/javascript'>alert('" + ingresar.Devuelve_Mensaje() + "');</script>");
#pragma warning restore CS0618 // Type or member is obsolete
        GV_Pedido.DataBind();
        GV_Pedidos.DataBind();
        GV_ProductosBodega.DataBind();
    }