如何再进行一次eval合并?
<asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("Name"),Eval("Surname"),Eval("Mail")%>'/>
答案 0 :(得分:3)
尝试
<asp:HiddenField ID="HiddenField1" runat="server" Value='<%# Eval("Name") + "," + Eval("Surname") + "," + Eval("Mail")%>'/>