Click here to Skip to main content
15,895,809 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to store a MAP location (longitude and latitude) in database in asp.net ?? by clicking on map automatically get the longitude and latitude) store in database ..
Posted
Comments
Mehdi Gholam 28-Feb-15 2:03am    
You store it like any other kind of data, where are you stuck?
What have you tried?
Sinisa Hajnal 28-Feb-15 3:17am    
In what format do you get the data? Why not store it as you get it? It is usually long unreadable string of numbers. So just store it like that, even if you don't know how to read it, the map applications usually do.
Muhammad0001 28-Feb-15 12:29pm    
sir i want to store a location i a form of longitude and latitude
HKHerron 28-Feb-15 13:58pm    
Is your question how to store data in a data base, or is it how to get the Longitude and Latitude from a MAP? I ask this because, storing the information in a database is just like any other data, as @Mehdi stated. If you are wondering what data type to use for it, I would suggest you just store is as a string. Then manipulate or covert as needed. Hope this helps you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900