数据绑定问题!(求教)
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Eval("?????", "http://passport.duuyuu.com/shop/{0}/default.aspx?shopid={1}") %>' Text="assad">
问号处改怎么写?我要绑两个字段,我只会一个,绑两个就出错,请问该怎么写?
------解决方案--------------------<a href='http://passport.duuyuu.com/shop/ <%# %>/default.aspx?shopid=<%# %>' ID="HyperLink1" runat="server" >assad</a>
------解决方案--------------------不用HyperLink:
<a href='http://passport.duuyuu.com/shop/ <%# %> /default.aspx?shopid= <%# %>'> assad </a>