Author: mwheeler | Posted on: 9/1/2009 2:56:37 PM | Views : 262

 Hi All,
I am writing a web application where I query my SQL database and I need to display the results of that query over on top of an image:
Here is my aspx code:
<form id="formPositionMap" runat="server"> <asp:Image ID="ImageEarth" runat="server" Width="976" Height="432" Style="position: absolute; left: 0px; top: 0px;" ImageUrl="~/operations/images/imageEarth.jpg" /> </form> Here is my VB code behind:
Try CXASQLConnection.Open() CXASQLCommand = CXASQLConnection.CreateCommand CXASQLCommand.CommandText = "SELECT stringIATA, stringLATITUDE, stringLONGITUDE FROM LIVE" CXASQLDataReader = CXASQLCommand.ExecuteReader Do While CXASQLDataReader.Read() ...

Go to the complete details ...