thank you for your reply,-_- my site is just run these days,it didn't run correct. The exception throwed that is because http://www.it181.com/placemarkview.aspx don't have correct querystring,you can run this http://www.it181.com/placemarkview.aspx?id=646 i had test in the local,it runs correct,but in the host,when I use it point out "The key is in use with another server,please register another key". I checked the key is correct.
2009/2/27 Howard <[email protected]>: > I debuged my code,it didn't throw System.IndexOutOfRangeException > because I can make sure the datatable have one row and have "long". > -_- How did you know my code?? > > 2009/2/27 Mike Williams <[email protected]>: >> >> Wasn't it Howard who wrote: >> >>>http://www.it181.com/placemarkview.aspx >> >> That page doesn't get as far as thinking about loading the Maps API. The >> aspx crashes with System.IndexOutOfRangeException on this line: >> string longitude = dt.Rows[0]["long"].ToString(); >> >> -- >> http://econym.org.uk/gmap >> The Blackpool Community Church Javascript Team >> >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
