>I have an imagemap in a datalist with one hotspot that covers the entire image. I want the imagemap to show a URL stored in a database field name ImageURL.
>
>I get a "cannot bind" error when trying to use EVAL("ImageMap"), and I can find no other way to dynamically set it in a datalist.
>
>Does anyone know how to do this?
>
>Thanks in advance!
Not sure is this is what you're looking for:
<asp:ImageMap id="myImage"
ImageUrl='<%# DataBinder.Eval(Container.DataItem, "ImageURLFieldValue") %>'
runat="server"/>
Cetin