A
Adam J Knight
Hi all,
I am trying to bind a value to a hyperlink control.
For some reason it isn't working.
What have i missed?
<asp:HyperLink ID="lnkQuestions" NavigateUrl='Questions.aspx?ID=<%#
DataBinder.Eval(Container.DataItem,"ID")%>' Runat="server">view
questions</asp:HyperLink>
The databinding expression isn't working..it just displays as a string.
If i take it out of the Hyperlink control ...it works fine???
Cheers,
Adam
I am trying to bind a value to a hyperlink control.
For some reason it isn't working.
What have i missed?
<asp:HyperLink ID="lnkQuestions" NavigateUrl='Questions.aspx?ID=<%#
DataBinder.Eval(Container.DataItem,"ID")%>' Runat="server">view
questions</asp:HyperLink>
The databinding expression isn't working..it just displays as a string.
If i take it out of the Hyperlink control ...it works fine???
Cheers,
Adam