Hot Tip - SQL 报表服务(Reporting Services) RDL

http://msdn2.microsoft.com/zh-cn/library/bb395166.aspx上面的地址中列举了一些SQL 2005报表服务的一些Tips,值得一看。

一个常见的使用技巧是,如果报表中的一些element不支持直接引用数据源field的时候,可以通过一个Textbox"过渡"一下来实现,因为Textbox的值可以通过ReportItems!TextBoxName.value来引用的,将此Textbox的Hidden属性设置为true,就可以隐藏它,不必显示在界面上。

[ Update 2007-8-24]:另一个类似的技巧是使用 隐藏参数
Another approach is to use hidden parameters. To do this, create a new data set that contains the values that you want to put in the report. In general, the query should only return a single row. After defining the data set, create a hidden parameter for each value you want to display. Set both of the available values and the default values for these parameter to the data set and field that contains the information that you want to show. Then you can simply add them to the page header or footer using the =Parameters! ParameterName.Value syntax.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值