Chinni

Chinni

  • NA
  • 79
  • 5.5k

image tag URL dynamically

Aug 16 2013 4:11 AM
Hi,

i develop a images gallery application for that i use a img tag and anchor tag i need get a anchor tag and image tag URL are dynamically can you help me 

<asp:DataList ID="usergalleryDataList" RepeatColumns="8" runat="server">
                <ItemTemplate>
                    <a href='<%#Session["dir"]%>' rel="prettyPhoto[pp_gal]" id="anchor">
                        <img src='<%#Session["dir"]%>' width="60" height="60" alt='<%# Eval("Name") %>' />
                    </a>
                </ItemTemplate>
            </asp:DataList>

Thanks,
Ajith.

Answers (21)