如何在Visual Studio 2010中为.rdlc报告添加新参数 [英] How to add new parameter for .rdlc reports in Visual Studio 2010

查看:151
本文介绍了如何在Visual Studio 2010中为.rdlc报告添加新参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Visual Studio 2010中向.rdlc报表(Microsoft报表服务)添加一个新参数。我之前使用的是V S 2005,在报表菜单中我有报表参数选项。但是我无法在VS 2010中找到。如果有人有任何想法请分享。

I want to add a new parameter to .rdlc report (Microsoft Reporting Service) in Visual Studio 2010. I was using V S 2005 before and in Report Menu I have option of Report Parameters. But I am unable to find in VS 2010. If anybody have any idea then please share.

推荐答案

1:在Visual Studio 2010中,打开.rdlc文件,打开报告数据窗口(如果看不到此窗口,请转到查看菜单将其打开);



2:右键单击参数节点,并添加一个新参数,即:将其命名为'myparameter';(或任何您想要的名称)
1: In Visual Studio 2010, open your .rdlc file, and open 'Report Data' window (If you can not see this window, go to View menu to open it);

2: Right click the 'Parameters' node, and add a new Parameter, ie: named it 'myparameter';(or any name you want)


这篇关于如何在Visual Studio 2010中为.rdlc报告添加新参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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