双击gridview页面传值,可以传单个值,传两个就不行了
e.Row.Attributes.Add("ondblclick", "window.open('userbianji.aspx?SId1=" + e.Row.Cells[0].Text + "','')");这样单个值可以传
e.Row.Attributes.Add("ondblclick", "window.open('userbianji.aspx?SId1=" + e.Row.Cells[0].Text + "','';SId2=" + e.Row.Cells[0].Text + "','')");
这样同时传2个值就不行了
------解决方案--------------------e.Row.Attributes.Add("ondblclick", "window.open('userbianji.aspx?SId1=" + e.Row.Cells[0].Text + "&SId2=" + e.Row.Cells[0].Text + "')");
上一句标点符号没看清