本帖最后由 zwk333 于 2019-8-23 13:37 编辑
前端js:
var viewer = GrapeCity.ActiveReports.Viewer(
{
element: '#viewerContainer',
report: {
id: 'Reports/SectionReport2.rpx',
parameters: [{
name: 'QRCode',
value:"111",
}],
},
reportService: {
url: '/WebService1.asmx'
},
uiType: 'desktop'
});
后台:
definition = new SectionReport();
string param = definition.Parameters["QRCode"].Value;
这样子写,取值那里报错 |