/*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); }
public int ObtenerRfc(string rfc) { var res = _conexion.Existencia("select count(*) from PERSONAL where RFC='" + rfc + "'"); return(res); }