如何在c#中动态更改rdlc报告 [英] How To dynamically change rdlc Report in c#

查看:86
本文介绍了如何在c#中动态更改rdlc报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的c#桌面应用程序中有rdlc报告,有字段



视觉工具信息

< pre lang =css> 模式 - 1 to 10
OPC-1: 适用
OPC-2: 适用
OPC-3 适用
OPC-4 适用
OPC-5 适用
条形码 - 1 < span class =code-leadattribute>不 适用
Datamatrix - 1 适用
Datamatrix - 2 适用
Datamatrix - 3: 适用
Pharmacode - 1 适用
叠印 - 1 适用
叠印 - 2 适用
叠印 - 3: < span class =code-leadattribute>不 适用





这里我只选择Combobox模式1& 2中​​的两个工具,

所以,其他字段显示不适用,

有些时间我正在选择OPC-1,OPc-2和条形码-1,

所以其他时间字段显示不适用



是否可以只显示我在运行时选择的那些提交报告,

其他行只是隐藏报告:



请帮助我

解决方案

检查这个

如何:应用条件可见性控件 [ ^ ]


I Have rdlc Report In My c# desktop Application, Having Field

Vision Tool Info

Pattern - 1 to 10 : Yes, Yes, No, No, No, No, No,No, No, No
OPC-1:              Not Applicable
OPC-2:              Not Applicable
OPC-3 :             Not Applicable
OPC-4 :             Not Applicable
OPC-5 :             Not Applicable
Barcode -1 :        Not Applicable
Datamatrix - 1 :    Not Applicable
Datamatrix - 2 :    Not Applicable
Datamatrix - 3:     Not Applicable
Pharmacode -1 :     Not Applicable
Overprint - 1 :     Not Applicable
Overprint - 2 :     Not Applicable
Overprint - 3:      Not Applicable



Here I just Select two tool from Combobox pattern 1&2,
So, other field showing Not Applicable,
Some Times I am Selecting OPC-1, OPc-2 and Barcode-1,
so that time other field showing, "Not Applicable"

Is it Possible to show Only those Filed In Report which I was selecting In Run time,
Others rows Is just Hide from Report:

Kindly help me

解决方案

Check this
How to: Apply Conditional Visibility Controls[^]


这篇关于如何在c#中动态更改rdlc报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆