arciyan 发表于 2016-11-22 11:26:56

参数问题

请问,程序里面如何修改参数,给参数赋给定的值。万分感谢

Lenka.Guo 发表于 2016-11-22 11:45:49

如代码:
GrapeCity.ActiveReports.PageReport rpt= new PageReport();
pagereport.Report.ReportParameters.DefaultValue.Values.Add("1");

arciyan 发表于 2016-11-22 14:20:22

Lenka.Guo 发表于 2016-11-22 11:45
如代码:
GrapeCity.ActiveReports.PageReport rpt= new PageReport();
pagereport.Report.ReportParam ...

请问,报表参数没有问题,但是在程序中运行只要报表中有参数就运行报错:脚本clean错误,删掉参数就好了。没有参数没办法实现报表的查询怎么办?谢谢!急!!

Lenka.Guo 发表于 2016-11-22 14:53:19

arciyan 发表于 2016-11-22 14:20
请问,报表参数没有问题,但是在程序中运行只要报表中有参数就运行报错:脚本clean错误,删掉参数就好了 ...

那您能提供一个重现问题的示例程序吗?我在这边调试下,看看是哪里引用出了问题
页: [1]
查看完整版本: 参数问题