c# - How to search Latitude and Longitude wise Record from SQL Server database with Asp.net -
i want search records sql server database, based on conditions
 "near 5 km area", "people present location" (male, female, both) etc.
the table structure looks this:
so, how can this?
thanks
have read of stackoverflow answer here:
get nearest longitude , latitude mssql database table?
basically, can use sql server geography type, use stdistance.
this article includes example, showing how use it, , how use pythagorus, calculate distances quicker.

Comments
Post a Comment