缺少参数值.缺少参数值. [英] Missing parameter values. Missing parameter values.

查看:152
本文介绍了缺少参数值.缺少参数值.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个报告,报告中出现错误缺少参数值".请任何人都可以为我解决这个问题.

i am creating a report it gives an error "Missing parameter values." please any one can solve this problem for me.

推荐答案


1.看起来您没有完全设置参数
2.您是否在报告中为参数设置了任何默认值?

您是否可以发布一些代码
Hi
1.It looks like you''re not completely setting the parameter
2.Have you set any default value for the parameter in your report?

Can you post some piece of code


,假设您在本地处理模式下使用rdlc报告,并且使用winforms,
(您需要更具体地说明这些事情)

这是有关如何添加参数的示例:
Assuming that you''re using an rdlc report in local processing mode & using winforms,
(You need to be more specific with these things)

Here''s an example on how to add parameters:
ReportViewer1.LocalReport.SetParameters(new Microsoft.Reporting.WinForms.ReportParameters[] { new Microsoft.Reporting.WinForms.ReportParameter("ParamName",YourValue)})



其中ReportViewer1是您的ReportViewer,ParamName是参数的名称

要查看报告中的参数列表,请打开您的报告,右键单击该&单击参数.



Where ReportViewer1 is your ReportViewer, ParamName is the name of the parameter

To see the list of parameters in your report, open your report, right click on it & click on parameters.


这篇关于缺少参数值.缺少参数值.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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