Import Sql Data Into Js Array
I want to display a map that shows an array of markers. I'am using OSM with the OpenLayers Library to do that. If I use static values everything works fine. But now I want to displ
Solution 1:
Ok, I've got a solution: First I built the string in C# with a stringbuilder and formatted it properly for my JS-array. Then I passed that string into JS:
var markers = [ <%=markers1%> ];
Post a Comment for "Import Sql Data Into Js Array"