Hi
Most of the examples use MySQL/php/Ajax .
You will need to google for aspx support for google maps.
Here is one that might help
http://www.c-sharpcorner.com/UploadFile/shabdarghata/google-maps-user-control-for-ASP-Net-part103232008234414PM/google-maps-user-control-for-ASP-Net-part1.aspx

Regards Davie
 Dec 30, 4:56 pm, Matt Stotts <[email protected]> wrote:
> Hi All;
>
> I am a new to web Applications and to Web development in general. I need
> help with aspx and C#.  Most of my time has be developing Desktop Apps. I
> need some assistance in setting up a Google map that will plot/mark points
> on a map that comes from an sql database. I have tried to make sense of all
> the blogs, etc.. out there, but I can't find what I am looking for.  Can any
> someone help please.
>
> I can get  the map canvas on my aspx page, I can hard code a geocode. But I
> don't know how about doing it dynamically from a sql database.
>
> How can I modify the below code to pull  iterate through rows of a table or
> gridview of the Design page.
>
> var bounds = new google.maps.LatLngBounds(southWest,northEast);
>
> map.fitBounds(bounds);
>
> var lngSpan = northEast.lng() - southWest.lng();
>
> var latSpan = northEast.lat() - southWest.lat();
>
> for (var i = 0; i < 5; i++)
>
> {
>
> var location = new google.maps.LatLng(southWest.lat() + latSpan *
> Math.random(),
>
> southWest.lng() + lngSpan * Math.random());
>
> var marker = new google.maps.Marker({
>
> position: location,
>
> map:
>
> map}
>
> );
>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to