PLS .. PLS .. ReportViewer in vb.net 2010 [英] PLS .. PLS.. ReportViewer in vb.net 2010

查看:79
本文介绍了PLS .. PLS .. ReportViewer in vb.net 2010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所有人的好日子

我正在尝试使用参数创建包含reportviewer的报告,我想仅在报告中将值传递给第一页。其他页面我想把空格传递给这个参数..请帮助我,你可以用简单的例子..认为

Good Day For All
I'm trying to create a report with reportviewer using parameters , i want to pass a value to first page only in the report. the others page i want to pass spaces to this parameter .. please help me as you can with simple example .. thinks

推荐答案

而不是改变参数值你可以尝试隐藏您在报告中根据页码显示参数值的控件。



尝试构建表达式以检查当前页面并设置您用于显示的标签/文本框的隐藏或可见性属性显示详细信息。



RDLC报告您可以使用Globals.PageNumber获取当前页码,也可以设置如下表达式

如何:应用条件可见性控件 [ ^ ]
rather than changing parameter value you can try to hide the control which you show the parameter value in the report based on the page number.

try to build expression to check current page and set the hidden or visibility property of label/textbox which you have used to show show the details.

RDLC reports you can use Globals.PageNumber to get current page number and also you can set expression as below
How to: Apply Conditional Visibility Controls[^]


这篇关于PLS .. PLS .. ReportViewer in vb.net 2010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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