ReportViewer使用

      使用ReportViewer出现以下问题:

An error occurred during local report processing.
The definition of the report 'Main Report' is invalid.
An unexpected error occurred in Report Processing.
Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. 系統找不到指定的檔案。

 

解决方法:
到微软主页,下载对应的组件安装程序,安装下,即可解决.
http://download.microsoft.com/download/9/8/d/98d5fe84-60ad-4d40-bc25-5f60b9f21a11/ReportViewer.exe

具体使用方法:
先要画好一张报表,报表里的字段要添加一个Dataset,然后在报表里一个一个拖到Table里,设计好的报表是.rdlc文件。
关键代码:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值