Exemplo n.º 1
0
        public bool ActualizarHerramienta(int UsuarioId)
        {
            bool        Resultado = false;
            Herramienta he        = new Herramienta();

            he.UsuarioId = UsuarioId;
            Resultado    = he.Actualizar(" Cantidad ={0} ", tbxPorcientoMora.Text, "0");

            Resultado = he.Actualizar(" Cantidad ={0} ", tbxMes.Text, "1");

            Resultado = he.Actualizar(" Cantidad ={0} ", tbxQuincena.Text, "2");

            Resultado = he.Actualizar(" Cantidad ={0} ", tbxDia.Text, "3");

            Resultado = he.Actualizar(" Descripcion ='{0}' ", tbxNombreEmpresa.Text, "5");


            return(Resultado);
        }