You should be able to find this easily on Google, but here you go.

At the end of your web.config, just before </configuration> add:
<appSettings>
        <add key="MapsAPIKey" value="yourkey"/>
</appSettings>


Then in your page load event do something like:
dim mapsAPIKey as string
mapsAPIKey =
System.Web.Configuration.WebConfigurationManager.AppSettings
("MapsAPIKey").Trim()
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to