Hyperlink Control with navigateUrl

Feb 1 2010 8:51 AM

Hi,
can anyone please tell me how can i use eval in nvaigateurl of hyperlink control....
i just want to take the destination page from database and apply it to the <%#Eval("ProductPage")%> and Its Record Id to <%#Eval("recId")%>..
but its now working.....
here's what i m using....
<asp:HyperLink ID="hplProductPage" NavigateUrl="<%#Eval("ProductPage")%>?productId=<%#Eval("recId")%>" runat="server"></asp:HyperLink>

Answers (3)