GridView中Button多参数传参

 

GridView中调用多参数自定义函数

<asp:Button runat="server" ID="btn_edit"  OnClientClick='<%# "JumpPage("+Eval("SQID")+")"%>' />

 <asp:Button runat="server" ID="btn_edit"  OnClientClick='<%# "JumpPage("+Eval("InnerID")+","+Eval("JscgsbID")+")" %>' />

GridView中多参数传值
<asp:Button runat="server" ID="btn_edit"  CommandName="GridView_Edit"  CommandArgument='<%#Eval("SQID") %>' />

<asp:Button runat="server" ID="btn_edit"  CommandName="GridView_Edit"  CommandArgument='<%#"jscgid=" + Eval("JscgsbID") + "&cqid=" + Eval("CqID")%>' />

posted @ 2020-01-04 16:30  TechSingularity  阅读(191)  评论(0编辑  收藏  举报