Author: LearningASP_C_Sharp | Posted on: 4/27/2010 5:28:22 PM | Views : 1511

Hi
Can anyone help with this problem, i have the following code but cannot get value from eval.
<asp:HyperLink ID="HyperLink1" NavigateUrl='<%$ RouteUrl:RouteName=Weather, name=<%# Eval("id")%> %>' runat="server"><%# Eval("loc_text")%></asp:HyperLink>
How can i pass the value of Eval("id") but display name loc_text in url i.e
http://localhost/MyWebSite/Weather-Forcast-For/Washington
Thanks
George
...

Go to the complete details ...