水晶报表刷新错误 [英] Crystal Report Refresh Error

查看:91
本文介绍了水晶报表刷新错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好
我对asp.net并不陌生,并在C#中使用Crystal Reports 8.当我发布报告时,一切似乎都正常.但是当按下刷新按钮或下一页导航按钮时,出现错误对象引用未设置为对象的实例."
我应该处理刷新事件吗?如果可以,请给我一些帮助

提前感谢
Abhishek

Hey guys
I am very new to asp.net and using Crystal Reports 8 with C#. When i fire a report everything seems to be working fine. But when the refresh button or the next page navigate button is pressed,I land up with an error "Object reference not set to an instance of an object."
Am i supposed to handle the refresh event? If so plz provide me some help

Thanx in advance
Abhishek

推荐答案

在init ........页中调用报告.

您还可以在crystalreport查看器的page_navigate事件中调用报告
call the report in page init.................


u can also call the report in page_navigate event of crystalreport viewer


如果有任何回发语句,请删除该内容
If there is any postback statement remove that one


您的报告是否包含一些参数字段???
does your report contains some parameter fields ???


这篇关于水晶报表刷新错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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