从XML字符串生成RDLC-报告为空

问题描述

我在报告中遇到的问题是我的书面xml没有绑定到报告中。结果为空白报告。 有什么帮助吗? 我从哪里得到想法的链接:

https://gallery.technet.microsoft.com/scriptcenter/Dynamic-RDLC-Generator-6237aa44

Generating report from rdlc xml string

解决方法

成功!,这与参数有关!

parameters [0] = new ReportParameter(“ FeeColumnVisibility”, withFee.ToString()); System.Array.Resize(参考参数,4);

其中需要参数来声明我是否需要一些特定的列 WithFee是一个布尔变量,也与我的工作有关

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...