How can i get data from database with using javascript in my asp.net web form?

I want to get location data using mysql.

 var locations = [     ['<div class="infobox agents_widget"><div class="agent clearfix"><div class="image"><img class="img-thumbnail img-responsive" src="demos/03_home.jpg" alt=""></div><div class="agent_desc"><h3 class="title"><a href="single-property.html">3 Garage 12 Bedrooms Family House</a></h3><span>$389.000</span><br><a href="single-property.html">View property</a></p></div></div></div>', -34.018249, 151.017507, 10],     ['<div class="infobox agents_widget"><div class="agent clearfix"><div class="image"><img class="img-thumbnail img-responsive" src="demos/03_home.jpg" alt=""></div><div class="agent_desc"><h3 class="title"><a href="single-property.html">3 Garage 12 Bedrooms Family House</a></h3><span>$389.000</span><br><a href="single-property.html">View property</a></p></div></div></div>', -34.028249, 151.057507, 9],     ['<div class="infobox agents_widget"><div class="agent clearfix"><div class="image"><img class="img-thumbnail img-responsive" src="demos/04_home.jpg" alt=""></div><div class="agent_desc"><h3 class="title"><a href="single-property.html">2 Week Holland Travel</a></h3><span>$195.000</span><br><a href="single-property.html">View property</a></p></div></div></div>', -33.890542, 151.174856, 8] ];  var map = new google.maps.Map(document.getElementById('map'), {     zoom: 10,     scrollwheel: false,     navigationControl: true,     mapTypeControl: false,     scaleControl: false,     draggable: true,     styles: [{ "stylers": [{ "hue": "#19B8DF" }, { "gamma": 1 }] }],     center: new google.maps.LatLng(-33.92, 151.25),     mapTypeId: google.maps.MapTypeId.ROADMAP }); 
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.