Click here to Skip to main content
15,896,360 members
Please Sign up or sign in to vote.
1.31/5 (3 votes)
See more:
Hi,

I am working on a project where when I enter a zip code and select a range (10 miles, 20 miles, 30 miles, 50 miles) then I need all zip code within the selected range. In simple if I enter Zip Code=60004 and select 50 miles then the application should return me all zip codes within 50 miles of Almbama.

But I don't know how to implement it in my c# code.
Any help is greatly appreciated.

regards.
Posted
Updated 16-Dec-16 1:58am
Comments
Sergey Alexandrovich Kryukov 3-Jun-11 4:01am    
How can anyone answer before you explain what do you have on input?
--SA

How you implement it is going to depend to a large part on your existing data format: Have you got a source of all zip codes in the continental US? If so, how is it organised?

Either, your code will have to reflect the data organisation if it is to be at all efficient, or you will have to change the data format.
 
Share this answer
 
Hoping this could help you a bit.

ZIP Code Utility[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900