View Single Post

  #5 (permalink)  
Old 03-06-2006
Elbarto Elbarto is offline
Junior Member
Yellow Belt
 
Join Date: Mar 2006
Posts: 13
Thanks it's ok

but now I want to retrieve adress, postalcode and city from the pushpin,

I use this code:

Quote:
string sParamPushpin;

//street name
sParamPushpin+=loc.StreetAddress.Street + ";";

//postalcode
sParamPushpin+=loc.StreetAddress.PostalCode +";";

//City
sParamPushpin+=loc.StreetAddress.City + ";";

//Country
sParamPushpin+=loc.StreetAddress.Country;
but this code doesn't work for some pushpin, for example for "postalcode" the value is incorrect ( 00014 instead of 44000 ), I don't understand

what is the correct syntax for retrieving the street adress, postalcode and city from a pushpin ?
Reply With Quote