报告-通过DataSet手动隐藏列将不起作用 [英] Reports - hide a column manually via DataSet wont work

查看:70
本文介绍了报告-通过DataSet手动隐藏列将不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
有人可以帮我解决这个问题:我已经创建了一个报告引擎,并且希望能够通过个人设置隐藏特定的列,我不想为每个用户创建多个报告.

我已经创建了一个解决方案,但是它不起作用.

http://webservice.timecare.se/ReportViewer.zip [

Hello
Could someone help me with this problem: I''ve created a report engine and I want to be able to hide specific columns thru personal settings, I do not want to create several report for each users.

I have create a solution but, it''s not working.

http://webservice.timecare.se/ReportViewer.zip[^]

It is two projects, one web and one winform.

I want to have the same look and feel on both.

推荐答案

我认为您需要更改rdlc文件,以根据传入的数据隐藏列(可能使用参数),而不是尝试仅保留该列的数据.如果报告需要一列数据,则必须传递它.
I think you need to alter the rdlc file to hide the column based on data that you pass in (maybe use parameters), instead of trying to just with hold the data for that column. If the report is expecting a column of data, you have to pass it.


这篇关于报告-通过DataSet手动隐藏列将不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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