示例#1
0
    protected void BT_Modificar_Click(object sender, EventArgs e)
    {
        UUser datos = new UUser();
        LUser user  = new LUser();

        ClientScriptManager cm = this.ClientScript;

        datos.User_id = int.Parse(Session["id_mesa"].ToString());
        user.eliminarmesa(datos);
        this.RegisterStartupScript("mensaje", "<script type='text/javascript'>alert('Mesa Eliminada Correctamente');window.location=\"ListarMesas.aspx\"</script>");
    }