前端代码:
<script type="text/javascript">
function Search() {
$(function () {
var viewer = GrapeCity.ActiveReports.Viewer({
element: '#viewer',
report: {
id: 'Reports/SalesDetail.rdlx' + ';' + $("#TextBox1").val()+';' + $("#TextBox2").val()
},
reportService:
{
url: 'WebService3.asmx'
},
uiType: 'Desktop',
localeUri: 'Scripts/i18n/Localeuri.txt',
});
})
};
</script>
然后后台服务里进行参数的分割
|