您好,
可以使用RDL报表来实现,思路是:
1.通过参数选择付款方式
2.设置列的隐藏- =Code.SetVisibility( Parameters!P1.Value ,"T1")
复制代码 3.通过脚本处理- Function SetVisibility(ByVal vs As Object(), ByVal name As String) As Boolean
- For Each item As Object In vs
- If item.ToString().Equals(name) Then
- Return False
- End If
- Next
- Return True
-
- End Function
复制代码
可以参考的在线示例:
http://demo.gcpowertools.com.cn/ ... 2&action=10
下载连接:
http://www.gcpowertools.com.cn/products/activereports_demo.htm |