关于dataview模版列的问题
<ItemTemplate>
<asp:HyperLink ID= "HyperLink1 " runat= "server " NavigateUrl= ' <%# Eval( "hgdate_name ", "HgWl_insert.aspx?name={0} ") %> '
Text= "补交 "> </asp:HyperLink>
</ItemTemplate>
我想多传一个字段的值怎么不行?
我是这样写的
<ItemTemplate>
<asp:HyperLink ID= "HyperLink1 " runat= "server " NavigateUrl= ' <%# Eval( "hgdate_name,hgdate_id ", "HgWl_insert.aspx?name={0}&id={1} ") %> '
Text= "补交 "> </asp:HyperLink>
</ItemTemplate>
请问如何才能传两个值啊
------解决方案-------------------- <ItemTemplate>
<a href= ' <%# "HgWl_insert.aspx?name= " + Eval( "hgdate_name ") + "&id= " + "Eval( "hgdate_id ") %> '> 补交 </a>
</ItemTemplate>
------解决方案-------------------- <%# "HgWl_insert.aspx?name= " + Eval( "hgdate_name ") + "&id= " + Eval( "hgdate_id ") %>
这样呢?