[英]How to pass a parameter or a value to reporting service report using visual studio report viewer
I have a reporting service report that I want to pass some values from my application to it and show them statically. 我有一个报告服务报告,我想将一些值从我的应用程序传递给它,并静态显示它们。 How I can pass them? 我怎样才能通过他们? Should I use paramaeter or variable? 我应该使用参数还是变量? and how pass value? 以及如何传递价值? thanks alot 非常感谢
您应该使用SSRS REService和RSService进行调查!
Yes, you should use a parameter. 是的,您应该使用一个参数。 From there, you can pass values into that parameter two different ways. 从那里,您可以通过两种不同的方式将值传递给该参数。 You can use the API to set the parameter server side as shown here: 您可以使用API来设置参数服务器端,如下所示:
http://msdn.microsoft.com/en-us/library/ms252178%28v=vs.90%29.aspx http://msdn.microsoft.com/zh-cn/library/ms252178%28v=vs.90%29.aspx
Also, you can just build up query string arguments and pass values into a reports parameters as well: 同样,您也可以建立查询字符串参数并将值传递到报告参数中:
http://msdn.microsoft.com/en-us/library/ms155391.aspx http://msdn.microsoft.com/en-us/library/ms155391.aspx
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.