Ejemplo n.º 1
0
    protected void BT_Nuevo_Click(object sender, EventArgs e)
    {
        UUser datos            = new UUser();
        LUser user             = new LUser();
        ClientScriptManager cm = this.ClientScript;

        datos.Id_Rol   = int.Parse(TB_Cantidad.Text.ToString());
        datos.Apellido = TB_Ubicacion.Text.ToString();

        user.insertmesa(datos);
        this.RegisterStartupScript("mensaje", "<script type='text/javascript'>alert('Mesa Ingresada');window.location=\"ListarMesas.aspx\"</script>");
    }