【问题标题】:Set Parameters Report exception C#设置参数报告异常 C#
【发布时间】:2013-10-10 08:40:20
【问题描述】:

我有一个报告(.rdlc .NetFramework 4.0),它从数据集表中获取值。该表是使用我的 sql server 数据库中存储过程的 TableAdpterconnection 生成的。 一切正常,但是当我在存储过程中添加一个新值并在 DataTable 中添加时,我遇到了这个异常错误:

“本地报表处理异常”

这发生在“report.SetParameters”之后

我该如何解决这个问题?

(PS:报告是本地报告)

【问题讨论】:

  • 这里的报告框架是什么?
  • Rdlc Visual Studio 2012

标签: c# sql sql-server report


【解决方案1】:

改变这个:

this.reportViewer1.LocalReport.ReportPath = "Project.Reports.Report.rdlc";

收件人:

this.reportViewer1.LocalReport.ReportEmbeddedResource = "Project.Reports.Report.rdlc";

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-03-09
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多