function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ServiceObjectsServiceObjects 

US Address Validation .Net Example Code

Attached is a C# snippet for sample code for validating, correcting, and standardizing US mailing addresses. This example gets lead address information from sforce, compares address to USPS tables, then (if needed) will update the address information. USPS address data is updated monthly.

 

ORIGINAL ADDRESS INFORMATION

Address: 1233 De La Gurra

City: Snta Brbra

State: Calif.

Zip: 93109

 

VALIDATED STREET ADDRESS RETURNED TO SALESFORCE LEAD

Address: 1233 E De La Guerra Rd

City: Santa Barbara

State: CA

Zip: 93103-2112

 

Download sample code here:
http://www.serviceobjects.com/examples/salesforce/addressvalidation.zip

Web Site:
http://www.serviceobjects.com/products/