见
www.xaqyjc.com
点击按钮跳转到另一个页面(点击前执行脚本)的JS写法:
window.location.href('../../SCMReport/ControlSingle/ConttrolSingleTable1.aspx?GUIID=00000480&MainID='+id+'&MainName='+mn+'&MainRecordStatus='+R+'&MainCreator='+Nn+'&MainCreatorID='+Ni+'&MainUser='+Nu+'&ProductCode='+Pc);
注意:
1.../../SCMReport/ControlSingle/ConttrolSingleTable1.aspx 为页面的模版类型
2.GUID为页面的编码. 从PlatformBusinessDB.dbo.U_ControlGUI表中查看
3.'&MainName='nm 给MainName赋值为nm字段 赋值字段用&符和''做间隔