The Town of Danville is located in the San Ramon Valley in Contra Costa County, California. It is one of the incorporated municipalities in California that uses "town" in its name instead of "city". The population was 42,039 in 2010.Danville hosts a farmer's market each Saturday next to the San Ramon Valley Museum.The Iron Horse Regional Trail runs through Danville. It was first a railroad that has been converted to an 80-foot wide corridor of bike and hike trails as well as controlled intersections. Extending from Dublin to Concord, the trail passes through Danville.Danville is also home to the Village Theatre and Art Gallery, hosting children's theatre, Broadway shows and art discussions.