An iterative approach is proposed to model networked control systems (NCSs) with arbitrary but finite data packet dropout. as switched linear systems. This enables us to apply the rich theory of switched systems to analyzing such NCSs. Sufficient conditions are presented on the stability and stabilization of NCSs with packet dropout and network delays. Stabilizing state/output feedback controllers can be constructed by using the feasible solutions of some linear matrix inequalities. The merit of the iterative approach is that the controllers can make full use of the previous information to stabilize NCSs when the current state measurements can not be transmitted by the network channel instantly. A simulation example is worked out to illustrate the effectiveness of the proposed approach.