コード例 #1
0
        /*public void EliminarPersonal(string rfc)
         * {
         *  string cadena = string.Format("delete from PERSONAL where RFC = '{0}'", rfc);
         *  _conexion.EjecutarConsulta(cadena);
         * }*/
        public int ObtenerCheck(int idcheck)
        {
            var res = _conexion.Existencia("select count(*) from CHECADAS where IDCHECK='" + idcheck + "'");

            return(res);
        }
コード例 #2
0
        public int ObtenerRfc(string rfc)
        {
            var res = _conexion.Existencia("select count(*) from PERSONAL where RFC='" + rfc + "'");

            return(res);
        }