CommandArgument绑定多个值

老是忘记绑定多个值的方法,此处记录一下。

  < asp:LinkButton ID = " lbnDelete "  runat = " server "  OnClientClick = ' return confirm("确认要删除吗?"); '
                            CommandName
= " Delete "  CommandArgument = ' <%#Eval("ID")+"|"+Eval("Image")%> ' >
                    删除
</ asp:LinkButton >


 

 

你可能感兴趣的:(command)