The majority of Virginia counties have their codes freely available online through Municode.
Scalia Law users may also find Virginia Codes on Lexis+ (choose State, Virginia, scroll down to Statutes and Legislation, and you'll see Virginia Municipal Codes. Be advised, the updates are irregular.).