The stability analysis and stabilization of networked control systems subject todata loss and time-varying transmission delays are explored. The stability result is based onquadratic separation and operator theory, which allows to capture the above phenomena intothe single formalism of aperiodic sampling. The obtained stability condition is expressed throughan LMI. The stabilization problem is a bit more involved due to the inherent structure of theobtained LMI. An approximation (dilation) is then proposed to obtain a more tractable LMIfor stabilization. Several examples illustrate the effectiveness of the proposed approach.