Failed to export using the options you specified. Please check your options and try again
2013-08-26 13:57
543 查看
参考这篇《从ASP.NET传递参数给水晶报表》 /article/4668554.html 是可以传递参了。但是点击报表的菜单条上的打印图标没有任反应,当点击输出图标出,显示了:Failed to export using the options you specified. Please check your options and try again。
下面是问题原形:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/5e2ca7910f9c1608a505e7d3e5108e69.gif)
什么个情况?Insus.NET在实现第一篇《Visual Studio 2012使用水晶报表Crystal Report》 /article/4669437.html时,是能正常运作的,但昨天的一篇博文《从ASP.NET传递参数给水晶报表》 /article/4668554.html 却是有问题。
早上经反复测试与代码对比,原来是有关IsPostBack的问题。第二篇是用户选择参数时,报表的数据源已经给PostBack了。问题还是需要解决的?
添加三行程序即可,参考下图中三行下划线的代码。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/95ebf488aed0f366edc630b67677d6cd.png)
添加完毕,再来一次实时操作演示:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/c563857ef542aab375c4427b85cbd241.gif)
下面是问题原形:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/5e2ca7910f9c1608a505e7d3e5108e69.gif)
什么个情况?Insus.NET在实现第一篇《Visual Studio 2012使用水晶报表Crystal Report》 /article/4669437.html时,是能正常运作的,但昨天的一篇博文《从ASP.NET传递参数给水晶报表》 /article/4668554.html 却是有问题。
早上经反复测试与代码对比,原来是有关IsPostBack的问题。第二篇是用户选择参数时,报表的数据源已经给PostBack了。问题还是需要解决的?
添加三行程序即可,参考下图中三行下划线的代码。
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/95ebf488aed0f366edc630b67677d6cd.png)
添加完毕,再来一次实时操作演示:
![](https://oscdn.geek-share.com/Uploads/Images/Content/202011/19/c563857ef542aab375c4427b85cbd241.gif)
相关文章推荐
- Failed to download samples index, please check your connection and try again
- Failed to download samples index, please check your connection and try again 解决
- Failed to download samples index, please check your connection and try again 解决
- Install Failed. Please check your network connection and try again.
- Mac OS中, android stuido升级提示Connection failed. Please check your network connection and try again
- Android Studio:Connection failed. Please check your network connection and try again
- android studio升级时提示 Connection failed. Please check your network connection and try again
- android studio升级时提示 Connection failed. Please check your network connection and try again
- Gradle project sync failed. please fix your project and try again
- The page has expired due to inactivity Please refresh and try again
- Xcode Please check your setup and try again
- 解决The file XXX can not be found.Please check the location and try again!
- Myeclipse出现can not be found.please check the location and try again
- Studio 更新的时候提示Connection failed (connect timed out). Please check network connection and try again.
- 解决Gradle project sync failed. Please fix your project and try again.
- eclipse中执行程序时报错'A JNI error has occurred,please check your installation and try again'
- MyEclipse中消除frame引起的“the file XXX can not be found.Please check the location and try again.”的错误
- 解决:Please check your setup and try again. (0xE8000022).
- 5.Error running All Tests: Gradle project sync failed. Please fix your project and try again. 怎样解决?