J
John Straumann
Hi all:
I have an ASP.NET application that reads a list of addresses from a SQL
database, and then I want to display the Maps for these addresses as a table
on the ASPX page....I tried using a repeater control, building the URL in
the code-behind file from the addresses read from SQL, and then displaying
the map thus:
<asp:Repeater ID="maps" runat="server">
<HeaderTemplate />
<ItemTemplate>
<asp:Image ID="MapImage" runat="server"
ImageUrl="<%#DataBinder.Eval(Container.DataItem, "Map") %>" />
</ItemTemplate>
<FooterTemplate />
</asp:Repeater>
but I am getting an error: "The server tag is not well formed"
Can anyone make a suggestion as to what I am doing wrong OR make a better
suggestion as to how I can accomplish this?
Thanks for any and all input.
John.
I have an ASP.NET application that reads a list of addresses from a SQL
database, and then I want to display the Maps for these addresses as a table
on the ASPX page....I tried using a repeater control, building the URL in
the code-behind file from the addresses read from SQL, and then displaying
the map thus:
<asp:Repeater ID="maps" runat="server">
<HeaderTemplate />
<ItemTemplate>
<asp:Image ID="MapImage" runat="server"
ImageUrl="<%#DataBinder.Eval(Container.DataItem, "Map") %>" />
</ItemTemplate>
<FooterTemplate />
</asp:Repeater>
but I am getting an error: "The server tag is not well formed"
Can anyone make a suggestion as to what I am doing wrong OR make a better
suggestion as to how I can accomplish this?
Thanks for any and all input.
John.