Geeks With Blogs
Chris Breisch   .NET Data Practices
Search this Blog!

Neat control on CodeProject.

From the Introduction:

This article describes the construction of a simple custom control used to lookup an area code and a city/state location based upon a selected zip code; the lookup is performed through the use of an available public web service. The article includes the source code for this custom control as well as a demonstration site used to test the control.

The custom control contains a zip code property. Once set, the control will pass the zip code as an argument to a web method which will, if the zip code is valid, return the city, state, and area code associated with the zip code. The control will display the zip code, area code, and location whenever the zip code property is set or changed.

The demonstration web site included with this example provides an interface to change the zip code property for the control and to update the content displayed in the control. The web service is provided through www.webservicex.com, and is available for use at no cost.

Posted on Wednesday, November 22, 2006 9:49 AM .NET Development , ASP.NET | Back to top


Comments on this post: Lookup Area Codes by Zip Codes

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Chris J. Breisch | Powered by: GeeksWithBlogs.net